Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008204/0.0008204, allocations: 89.97 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006507/0.006507, allocations: 174.1 kB / 16.26 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.708/2.708, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004348, allocations: 8 kB / 0.8159 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184/1.185, allocations: 142.4 MB / 0.955 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003126/1.188, allocations: 1.54 MB / 0.9565 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006359/1.188, allocations: 110.9 kB / 0.9566 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/1.189, allocations: 5.031 kB / 0.9566 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001882/1.189, allocations: 15.91 kB / 0.9566 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002794/1.189, allocations: 42.36 kB / 0.9567 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/1.189, allocations: 35.27 kB / 0.9567 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004116/1.19, allocations: 160.7 kB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/1.19, allocations: 35.89 kB / 0.9569 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/1.19, allocations: 49.02 kB / 0.957 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/1.19, allocations: 60.5 kB / 0.957 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/1.191, allocations: 4.719 kB / 0.957 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.691e-05/1.191, allocations: 4.656 kB / 0.957 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/1.191, allocations: 15.2 kB / 0.957 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/1.191, allocations: 88.17 kB / 0.9571 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/1.191, allocations: 114.2 kB / 0.9572 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.191, allocations: 4 kB / 0.9572 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.248e-06/1.191, allocations: 1.25 kB / 0.9572 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.164e-05/1.191, allocations: 0 / 0.9572 GB, free: 5.941 MB / 0.7169 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.001005/1.192, allocations: 448.7 kB / 0.9577 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.02e-05/1.192, allocations: 8.938 kB / 0.9577 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/1.192, allocations: 19.59 kB / 0.9577 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/1.193, allocations: 209 kB / 0.9579 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/1.193, allocations: 2.531 kB / 0.9579 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/1.193, allocations: 12.8 kB / 0.9579 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/1.193, allocations: 126.5 kB / 0.958 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.193, allocations: 1.25 kB / 0.958 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/1.193, allocations: 4.938 kB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/1.193, allocations: 2.094 kB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/1.194, allocations: 112.4 kB / 0.9581 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009394/1.194, allocations: 479.4 kB / 0.9586 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/1.195, allocations: 139.1 kB / 0.9587 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/1.195, allocations: 72.66 kB / 0.9588 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/1.195, allocations: 1.812 kB / 0.9588 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/1.195, allocations: 32.28 kB / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/1.195, allocations: 0 / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0007241/1.196, allocations: 204.9 kB / 0.959 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/1.196, allocations: 86.47 kB / 0.9591 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/1.196, allocations: 166.8 kB / 0.9593 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/1.196, allocations: 31.08 kB / 0.9593 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/1.196, allocations: 104.2 kB / 0.9594 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/1.196, allocations: 31.67 kB / 0.9594 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/1.196, allocations: 16.47 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.197, allocations: 325.5 kB / 0.9598 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/1.197, allocations: 54.22 kB / 0.9598 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/1.197, allocations: 69.19 kB / 0.9599 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/1.197, allocations: 120.9 kB / 0.96 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.197, allocations: 0 / 0.96 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004231/1.198, allocations: 163.8 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/1.198, allocations: 5.375 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.198, allocations: 1.375 kB / 0.9602 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.198, allocations: 1.75 kB / 0.9602 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/1.198, allocations: 24.27 kB / 0.9602 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/1.198, allocations: 9.516 kB / 0.9602 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/1.198, allocations: 24.73 kB / 0.9602 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/1.198, allocations: 7 kB / 0.9602 GB, free: 3.387 MB / 0.7169 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.0001125/1.198, allocations: 124.2 kB / 0.9603 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/1.198, allocations: 10.59 kB / 0.9603 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005082/1.199, allocations: 174.7 kB / 0.9605 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.199, allocations: 2.188 kB / 0.9605 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/1.199, allocations: 0 / 0.9605 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/1.199, allocations: 1.25 kB / 0.9605 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/1.199, allocations: 231.3 kB / 0.9607 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.199, allocations: 1.312 kB / 0.9607 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/1.2, allocations: 27.72 kB / 0.9608 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/1.2, allocations: 1.094 kB / 0.9608 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/1.2, allocations: 1.25 kB / 0.9608 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/1.2, allocations: 1.312 kB / 0.9608 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.2, allocations: 0 / 0.9608 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/1.2, allocations: 330.7 kB / 0.9611 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/1.2, allocations: 92.09 kB / 0.9612 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/1.2, allocations: 9.094 kB / 0.9612 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/1.2, allocations: 13.17 kB / 0.9612 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/1.2, allocations: 4.031 kB / 0.9612 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/1.2, allocations: 5.906 kB / 0.9612 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001278/1.201, allocations: 131.8 kB / 0.9613 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/1.201, allocations: 0 / 0.9613 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003388/1.201, allocations: 32.88 kB / 0.9614 GB, free: 2.402 MB / 0.7169 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.0001507/1.201, allocations: 103.7 kB / 0.9615 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004549/1.202, allocations: 119.7 kB / 0.9616 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.202, allocations: 5.375 kB / 0.9616 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/1.202, allocations: 57.09 kB / 0.9616 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/1.202, allocations: 39.89 kB / 0.9617 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/1.203, allocations: 277.4 kB / 0.9619 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/1.203, allocations: 0.7024 MB / 0.9626 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001286/1.204, allocations: 11.06 kB / 0.9626 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/1.204, allocations: 13.25 kB / 0.9626 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of SimCode: time 8.62e-07/1.204, allocations: 0 / 0.9626 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of Templates: time 0.007662/1.211, allocations: 1.913 MB / 0.9645 GB, free: 328 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches