Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001914/0.001914, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003035/0.003035, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.622/1.622, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.628/3.628, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002198/0.002198, allocations: 70.02 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4833, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003516/0.4868, allocations: 1.778 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003686/0.4872, allocations: 115.6 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.697e-05/0.4873, allocations: 4 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.4874, allocations: 15.8 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.963e-05/0.4875, allocations: 51.55 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.4877, allocations: 31.95 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.4879, allocations: 175.1 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.4881, allocations: 25.22 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.4881, allocations: 55.84 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.4883, allocations: 67.64 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.4883, allocations: 8 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.142e-05/0.4883, allocations: 12 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.4884, allocations: 27.91 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.4884, allocations: 47.8 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.4887, allocations: 131.4 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4887, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4887, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.4887, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 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.0008406/0.4896, allocations: 385.6 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4896, allocations: 8.031 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.4897, allocations: 16.84 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.49, allocations: 146.3 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4901, allocations: 8.375 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.4901, allocations: 4.375 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.4904, allocations: 119.8 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4904, allocations: 8.125 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.4904, allocations: 11.92 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4904, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.4907, allocations: 87.94 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/0.4915, allocations: 396.5 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.4919, allocations: 125.2 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.4921, allocations: 69.75 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4921, allocations: 0 / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.4921, allocations: 34.56 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.4921, allocations: 0 / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0007401/0.4929, allocations: 185.5 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.4929, allocations: 77.11 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.4932, allocations: 163.3 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.4932, allocations: 25.7 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.952e-05/0.4933, allocations: 112 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.4933, allocations: 31.69 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.4934, allocations: 21.72 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.4935, allocations: 330.8 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.4937, allocations: 47.91 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.4939, allocations: 61.61 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.4942, allocations: 105.7 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4942, allocations: 0 / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004406/0.4946, allocations: 145.5 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.4946, allocations: 4 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4947, allocations: 0 / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4947, allocations: 0 / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4948, allocations: 28.34 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4949, allocations: 0 / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.495, allocations: 19.94 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.495, allocations: 4 kB / 1.369 GB, free: 8.082 MB / 1.061 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.0001147/0.4951, allocations: 121.7 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.4951, allocations: 15.95 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.4956, allocations: 162.6 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4956, allocations: 0 / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4956, allocations: 0 / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4956, allocations: 3.984 kB / 1.369 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.4959, allocations: 161.2 kB / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4959, allocations: 0 / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.496, allocations: 23.98 kB / 1.369 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.496, allocations: 0 / 1.369 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.496, allocations: 3.984 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.496, allocations: 4 kB / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.496, allocations: 0 / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.4965, allocations: 310.6 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.4965, allocations: 11.91 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.4965, allocations: 4 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.4967, allocations: 11.98 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.4968, allocations: 7.984 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.4968, allocations: 8 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001645/0.4969, allocations: 123.9 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4969, allocations: 0 / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002862/0.4972, allocations: 24 kB / 1.37 GB, free: 7.039 MB / 1.061 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.000129/0.4974, allocations: 103.2 kB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.4978, allocations: 100.2 kB / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4978, allocations: 0 / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.498, allocations: 51.91 kB / 1.37 GB, free: 6.777 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.4984, allocations: 46.72 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.499, allocations: 228.6 kB / 1.37 GB, free: 6.484 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.4992, allocations: 97.05 kB / 1.37 GB, free: 6.371 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.178e-05/0.4992, allocations: 12.48 kB / 1.371 GB, free: 6.359 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.4993, allocations: 15.42 kB / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.4993, allocations: 4 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of Templates: time 0.006244/0.5055, allocations: 2.324 MB / 1.373 GB, free: 4.094 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.338860923424363]