Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.00146/0.00146, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001588/0.001588, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.504/1.504, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.903/2.903, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.094e-05/4.321e-05, allocations: 4.547 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003764/0.003807, allocations: 1.787 MB / 0.8125 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003825/0.004189, allocations: 122.3 kB / 0.8126 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.004283, allocations: 3.938 kB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.00443, allocations: 17.45 kB / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.004547, allocations: 55.44 kB / 0.8127 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.004727, allocations: 36.66 kB / 0.8127 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.005037, allocations: 171.7 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.005168, allocations: 22.89 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.005327, allocations: 79.86 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.005456, allocations: 51.88 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.005494, allocations: 12 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.104e-05/0.005525, allocations: 8.656 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.005572, allocations: 27.91 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.005674, allocations: 48.91 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.005911, allocations: 127.6 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.005914, allocations: 0 / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005915, allocations: 1.156 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.005922, allocations: 0 / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009712/0.006894, allocations: 375.1 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.006939, allocations: 9.781 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.007017, allocations: 24.84 kB / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.007326, allocations: 149.5 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.00734, allocations: 4.375 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.007361, allocations: 10.31 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.007695, allocations: 115.9 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.007706, allocations: 8.062 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.007722, allocations: 1.062 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.007726, allocations: 384 / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.008059, allocations: 106.2 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008006/0.00886, allocations: 396.5 kB / 0.8144 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.00929, allocations: 131 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.00947, allocations: 54.28 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.009503, allocations: 4.531 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.009535, allocations: 30.56 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.009537, allocations: 1.844 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0006867/0.01022, allocations: 192 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.01031, allocations: 77.11 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.01053, allocations: 161.4 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.01056, allocations: 25.7 kB / 0.8151 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01066, allocations: 108.1 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.0107, allocations: 35.69 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.01076, allocations: 21.72 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.01095, allocations: 324 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.01111, allocations: 43.97 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.01129, allocations: 58.97 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.01162, allocations: 106.5 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.01163, allocations: 3.688 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007037/0.01233, allocations: 145.5 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.01235, allocations: 4 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01236, allocations: 0 / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.01238, allocations: 4 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.01255, allocations: 20.36 kB / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.01256, allocations: 0 / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.01269, allocations: 25.84 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.01271, allocations: 8 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001252/0.01283, allocations: 117.8 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.0129, allocations: 19.89 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.01339, allocations: 160.8 kB / 0.8162 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01339, allocations: 0 / 0.8162 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.0134, allocations: 1.125 kB / 0.8162 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.0134, allocations: 0 / 0.8162 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.0137, allocations: 157.2 kB / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.0137, allocations: 5.062 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.01386, allocations: 23.92 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01386, allocations: 0.8438 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.01387, allocations: 0 / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.01387, allocations: 4 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01387, allocations: 1.812 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.01438, allocations: 310.7 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.01442, allocations: 21.12 kB / 0.8167 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.01445, allocations: 4 kB / 0.8167 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.01463, allocations: 11.98 kB / 0.8167 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.01469, allocations: 4.703 kB / 0.8167 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.0147, allocations: 8 kB / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001245/0.01482, allocations: 121.8 kB / 0.8169 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01482, allocations: 0 / 0.8169 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003007/0.01512, allocations: 26.41 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 0.0001595/0.01528, allocations: 103.4 kB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.01567, allocations: 97.69 kB / 0.8171 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01567, allocations: 0 / 0.8171 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.01585, allocations: 59.94 kB / 0.8171 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.01632, allocations: 50.14 kB / 0.8172 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.01695, allocations: 237.1 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.01707, allocations: 97.16 kB / 0.8175 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.614e-05/0.01716, allocations: 8.5 kB / 0.8175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.01722, allocations: 12.5 kB / 0.8175 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of SimCode: time 8.81e-07/0.01722, allocations: 4 kB / 0.8175 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.005883/0.0231, allocations: 2.147 MB / 0.8196 GB, free: 8.859 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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: 8.313128154026344]