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.001359/0.001359, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.001681/0.001681, allocations: 211.4 kB / 22.99 MB, free: 4.984 MB / 14.72 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.626/1.626, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.35/3.35, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 70.08 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4422, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003373/0.4456, allocations: 1.783 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.000323/0.4459, allocations: 119.6 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.446, allocations: 4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.4462, allocations: 19.78 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.4463, allocations: 47.5 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.4464, allocations: 35.95 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.4467, allocations: 175.2 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.4468, allocations: 25.17 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.614e-05/0.4469, allocations: 55.78 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.447, allocations: 67.77 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.447, allocations: 8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.792e-05/0.4471, allocations: 8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.4471, allocations: 27.91 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.392e-05/0.4472, allocations: 55.73 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.4474, allocations: 123.5 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4474, allocations: 4 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4474, allocations: 4 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4474, allocations: 0 / 1.33 GB, free: 14.44 MB / 1.029 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.0009171/0.4483, allocations: 373.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4484, allocations: 8.031 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.4484, allocations: 16.84 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.4487, allocations: 154.3 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4487, allocations: 4.375 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.4487, allocations: 12.38 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.4491, allocations: 115.8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4491, allocations: 192 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.4491, allocations: 7.938 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4491, allocations: 4 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.4494, allocations: 91.88 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/0.4502, allocations: 404.5 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.4506, allocations: 117.2 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.4508, allocations: 57.72 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.4508, allocations: 8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.4508, allocations: 30.56 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.4508, allocations: 4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006164/0.4515, allocations: 177.5 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.4515, allocations: 85.09 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.4517, allocations: 160.9 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.4517, allocations: 29.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.501e-05/0.4518, allocations: 112 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.4519, allocations: 27.75 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.537e-05/0.452, allocations: 29.7 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.4522, allocations: 330.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.4523, allocations: 39.97 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.4525, allocations: 61.62 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.4528, allocations: 105.6 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4528, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000365/0.4531, allocations: 154 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4531, allocations: 8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.4532, allocations: 3.984 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.4532, allocations: 3.984 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.4533, allocations: 19.98 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-05/0.4534, allocations: 4 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.4535, allocations: 15.98 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.4535, allocations: 4 kB / 1.332 GB, free: 11.49 MB / 1.029 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.0001244/0.4536, allocations: 118.3 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.4537, allocations: 15.91 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/0.4541, allocations: 162.6 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4541, allocations: 4 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4541, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4541, allocations: 4 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.4544, allocations: 157.2 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4544, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.4546, allocations: 19.98 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4546, allocations: 4 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.4546, allocations: 0 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4546, allocations: 0 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4546, allocations: 0 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.4551, allocations: 318.6 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.4551, allocations: 11.94 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.4551, allocations: 8 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.4553, allocations: 7.984 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.4553, allocations: 7.984 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.4553, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001194/0.4555, allocations: 124.2 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4555, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002953/0.4557, allocations: 27.95 kB / 1.333 GB, free: 10.46 MB / 1.029 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.0001538/0.4559, allocations: 111.1 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.4563, allocations: 100.1 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4563, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4564, allocations: 56.03 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.457, allocations: 43.91 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006231/0.4576, allocations: 231.5 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.4577, allocations: 89.05 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.772e-05/0.4578, allocations: 16.62 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.4579, allocations: 15.42 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.4579, allocations: 0 / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of Templates: time 0.0061/0.464, allocations: 2.367 MB / 1.336 GB, free: 7.457 MB / 1.029 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 -s gbode -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/jenkins1/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: 9.893438996994519]