Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008614/0.0008614, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008498/0.0008498, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.911/0.911, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.722/1.722, allocations: 377.9 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.795e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001427/0.001455, allocations: 0.7563 MB / 0.9829 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.002276, allocations: 0.886 MB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.002317, allocations: 0 / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.002349, allocations: 11.88 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.002424, allocations: 7.875 kB / 0.9838 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.002577, allocations: 39.89 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.215e-05/0.002669, allocations: 87.81 kB / 0.984 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.002771, allocations: 23.92 kB / 0.984 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.589e-05/0.002857, allocations: 47.95 kB / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.002922, allocations: 39.88 kB / 0.9841 GB, free: 156 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.002949, allocations: 8 kB / 0.9841 GB, free: 148 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.002961, allocations: 8 kB / 0.9841 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.002982, allocations: 19.92 kB / 0.9841 GB, free: 120 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.003018, allocations: 31.89 kB / 0.9841 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.003149, allocations: 99.66 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003151, allocations: 0 / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003152, allocations: 0 / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003156, allocations: 0 / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004334/0.00359, allocations: 314 kB / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.003624, allocations: 8.031 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.003654, allocations: 8.891 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.391e-05/0.003748, allocations: 125.7 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.003762, allocations: 8.312 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.003773, allocations: 4.375 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.003971, allocations: 114.1 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.003979, allocations: 3.938 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.00399, allocations: 0 / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.003996, allocations: 4 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.004196, allocations: 99.03 kB / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.004552, allocations: 272.3 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.004909, allocations: 122.5 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.005023, allocations: 56.81 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.005037, allocations: 0 / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.005054, allocations: 38.55 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 7.61e-07/0.005055, allocations: 0 / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0003847/0.00544, allocations: 185.4 kB / 0.9855 GB, free: 14.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.005468, allocations: 51.41 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/0.00554, allocations: 121.8 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.005553, allocations: 25.7 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.005594, allocations: 104 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.005616, allocations: 19.84 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.005651, allocations: 25.7 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.005726, allocations: 318.8 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.646e-05/0.005822, allocations: 43.95 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.584e-05/0.005918, allocations: 47.95 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.006102, allocations: 101.2 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006103, allocations: 7.938 kB / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002198/0.006323, allocations: 133.5 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.006335, allocations: 4 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.00634, allocations: 4 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.00635, allocations: 4 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.00643, allocations: 23.97 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.006436, allocations: 3.984 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.006488, allocations: 19.92 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.006495, allocations: 0 / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/0.006556, allocations: 117.8 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.006572, allocations: 7.953 kB / 0.9867 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.006591, allocations: 16.36 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006594, allocations: 4 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.006597, allocations: 7.938 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.0066, allocations: 0 / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.006706, allocations: 133.2 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006707, allocations: 0 / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.006771, allocations: 23.97 kB / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.006773, allocations: 7.938 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.006781, allocations: 0 / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.006783, allocations: 4 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.006784, allocations: 0 / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.007035, allocations: 243.3 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.007046, allocations: 7.953 kB / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.007058, allocations: 0 / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.007122, allocations: 15.97 kB / 0.9871 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.007177, allocations: 23.91 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.007182, allocations: 4 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.591e-05/0.007218, allocations: 95.27 kB / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007218, allocations: 4 kB / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001535/0.007372, allocations: 12 kB / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.95e-05/0.007441, allocations: 95.78 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.007674, allocations: 103.9 kB / 0.9874 GB, free: 12.47 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.007675, allocations: 0 / 0.9874 GB, free: 12.47 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.007776, allocations: 59.89 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.007984, allocations: 15.17 kB / 0.9875 GB, free: 12.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.008301, allocations: 195.1 kB / 0.9877 GB, free: 12.18 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.828e-05/0.008349, allocations: 75.58 kB / 0.9878 GB, free: 12.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.008401, allocations: 20.48 kB / 0.9878 GB, free: 12.06 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.008401, allocations: 0 / 0.9878 GB, free: 12.06 MB / 0.948 GB Notification: Performance of Templates: time 0.001862/0.01026, allocations: 1.269 MB / 0.989 GB, free: 10.79 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.433343849144876]