Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0088/0.0088, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001571/0.001571, allocations: 192.9 kB / 16.67 MB, free: 5.938 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.605/1.605, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.785/2.785, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 63.91 kB / 1.018 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4907, allocations: 151.6 MB / 1.167 GB, free: 6.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003366/0.4941, allocations: 1.823 MB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003434/0.4945, allocations: 119.6 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.4946, allocations: 4 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.4947, allocations: 15.8 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.4949, allocations: 51.55 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.495, allocations: 35.95 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.4953, allocations: 179.1 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.4954, allocations: 21.11 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.4955, allocations: 55.84 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.4957, allocations: 63.7 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.4957, allocations: 12 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.029e-05/0.4958, allocations: 8 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.4958, allocations: 31.89 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.729e-05/0.4959, allocations: 63.67 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.4961, allocations: 127.5 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4961, allocations: 0 / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.596e-06/0.4961, allocations: 0 / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.4961, allocations: 3.938 kB / 1.169 GB, free: 4.262 MB / 0.92 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.0008299/0.497, allocations: 458.7 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.497, allocations: 15.98 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.4971, allocations: 8.891 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.4974, allocations: 208.1 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4974, allocations: 4.375 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.4974, allocations: 12.38 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.4978, allocations: 119.8 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4978, allocations: 192 / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.4978, allocations: 7.922 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.4978, allocations: 4 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.4981, allocations: 111.8 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007944/0.4989, allocations: 460.8 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.4993, allocations: 125.2 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.4995, allocations: 65.8 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.4995, allocations: 4 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.4996, allocations: 34.56 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.4996, allocations: 0 / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005828/0.5001, allocations: 189.5 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.5002, allocations: 77.11 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.5004, allocations: 175.9 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.5004, allocations: 29.7 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.5005, allocations: 112 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.5005, allocations: 35.81 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.5006, allocations: 21.7 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5007, allocations: 330.8 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.5009, allocations: 39.97 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.501, allocations: 57.62 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.5013, allocations: 105.7 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5013, allocations: 0 / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003453/0.5017, allocations: 149.5 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.5017, allocations: 5.875 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.5017, allocations: 3.984 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5017, allocations: 4 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.5019, allocations: 23.98 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.5019, allocations: 0 / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.502, allocations: 23.88 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.5021, allocations: 3.938 kB / 1.172 GB, free: 1.035 MB / 0.92 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.0001107/0.5022, allocations: 117.8 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.5022, allocations: 11.89 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.5026, allocations: 163 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5027, allocations: 64 / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.5027, allocations: 8 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5027, allocations: 3.938 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.503, allocations: 221.4 kB / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.503, allocations: 0 / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.5031, allocations: 24.17 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5031, allocations: 0 / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.5032, allocations: 15.92 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5032, allocations: 0 / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5032, allocations: 4 kB / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.5036, allocations: 310.6 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.5037, allocations: 85.11 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.5037, allocations: 7.938 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.5039, allocations: 8 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.504, allocations: 12.22 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.504, allocations: 3.938 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.864e-05/0.5041, allocations: 123.2 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5041, allocations: 0 / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002748/0.5044, allocations: 28 kB / 1.173 GB, free: 15.81 MB / 0.9356 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.000125/0.5045, allocations: 111.2 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003543/0.5049, allocations: 99.94 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5049, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.505, allocations: 55.91 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.5055, allocations: 48.31 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.506, allocations: 235.2 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.5063, allocations: 0.7006 MB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.577e-05/0.5064, allocations: 16.64 kB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.5064, allocations: 15.44 kB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of SimCode: time 1.443e-06/0.5065, allocations: 0 / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.005244/0.5117, allocations: 2.107 MB / 1.176 GB, free: 12.41 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches