Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 192 kB / 16.53 MB, free: 6.664 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.632/1.632, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.036/3.036, allocations: 482.6 MB / 0.7549 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 74.19 kB / 0.9241 GB, free: 29.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4287, allocations: 162.3 MB / 1.083 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004624/0.4334, allocations: 2.213 MB / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.4362, allocations: 1.524 MB / 1.086 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002719/0.4365, allocations: 12 kB / 1.086 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.4367, allocations: 59.2 kB / 1.086 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.437, allocations: 91.08 kB / 1.086 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008275/0.4379, allocations: 298.9 kB / 1.087 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008894/0.4387, allocations: 0.6449 MB / 1.087 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005508/0.4393, allocations: 361.8 kB / 1.088 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.4396, allocations: 239.1 kB / 1.088 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.4399, allocations: 246.8 kB / 1.088 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.44, allocations: 72 kB / 1.088 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.4402, allocations: 83.98 kB / 1.088 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.4403, allocations: 131.5 kB / 1.088 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.4406, allocations: 290.6 kB / 1.089 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00087/0.4415, allocations: 0.7595 MB / 1.089 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4415, allocations: 3.984 kB / 1.089 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4415, allocations: 0 / 1.089 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.4416, allocations: 0 / 1.089 GB, free: 5.965 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001653/0.4432, allocations: 0.8129 MB / 1.09 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.772e-05/0.4433, allocations: 16.02 kB / 1.09 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.4435, allocations: 60.19 kB / 1.09 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.4443, allocations: 351.7 kB / 1.091 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.4443, allocations: 41.69 kB / 1.091 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.908e-05/0.4444, allocations: 64.38 kB / 1.091 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009905/0.4454, allocations: 0.5031 MB / 1.091 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.4454, allocations: 192 / 1.091 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.4455, allocations: 23.94 kB / 1.091 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.4455, allocations: 12 kB / 1.091 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.4462, allocations: 360.6 kB / 1.092 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.4486, allocations: 1.465 MB / 1.093 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.4493, allocations: 289.3 kB / 1.093 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004187/0.4498, allocations: 177.6 kB / 1.093 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.4498, allocations: 8 kB / 1.093 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005107/0.4503, allocations: 202.8 kB / 1.094 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.4503, allocations: 0 / 1.094 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0008976/0.4513, allocations: 396.6 kB / 1.094 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.4513, allocations: 85.02 kB / 1.094 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.4518, allocations: 413.6 kB / 1.094 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.4519, allocations: 33.7 kB / 1.095 GB, free: 464 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.4521, allocations: 267.8 kB / 1.095 GB, free: 192 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.4523, allocations: 106.4 kB / 1.095 GB, free: 84 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.4525, allocations: 82.2 kB / 1.095 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002488/0.4527, allocations: 358.7 kB / 1.095 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.4531, allocations: 132.8 kB / 1.095 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.4535, allocations: 211 kB / 1.096 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/0.4542, allocations: 337 kB / 1.096 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4542, allocations: 0 / 1.096 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001094/0.4553, allocations: 479.9 kB / 1.096 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.966e-05/0.4553, allocations: 41.69 kB / 1.096 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.4554, allocations: 0 / 1.096 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.4554, allocations: 4 kB / 1.096 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.4557, allocations: 79.91 kB / 1.097 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.003e-05/0.4558, allocations: 15.86 kB / 1.097 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.4562, allocations: 75.53 kB / 1.097 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.4562, allocations: 19.98 kB / 1.097 GB, free: 14.2 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0002379/0.4565, allocations: 165.8 kB / 1.097 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.4565, allocations: 39.53 kB / 1.097 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007105/0.4573, allocations: 338.3 kB / 1.097 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.4573, allocations: 4 kB / 1.097 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.4573, allocations: 3.938 kB / 1.097 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4573, allocations: 3.984 kB / 1.097 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.4587, allocations: 0.9814 MB / 1.098 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4588, allocations: 0 / 1.098 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.459, allocations: 55.91 kB / 1.098 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.459, allocations: 4 kB / 1.098 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.459, allocations: 12 kB / 1.098 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.459, allocations: 4 kB / 1.098 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.4591, allocations: 8.125 kB / 1.098 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.4598, allocations: 0.5053 MB / 1.099 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.4599, allocations: 124.6 kB / 1.099 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.46, allocations: 8 kB / 1.099 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.4602, allocations: 15.98 kB / 1.099 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.4603, allocations: 27.91 kB / 1.099 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.4603, allocations: 15.94 kB / 1.099 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004101/0.4608, allocations: 295.2 kB / 1.099 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4608, allocations: 0 / 1.099 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004678/0.4612, allocations: 103.7 kB / 1.099 GB, free: 11.37 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002194/0.4615, allocations: 127.1 kB / 1.099 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007758/0.4623, allocations: 399.2 kB / 1.1 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4623, allocations: 4.125 kB / 1.1 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002806/0.4626, allocations: 131.8 kB / 1.1 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.4631, allocations: 57.91 kB / 1.1 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.4645, allocations: 0.7465 MB / 1.101 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.4651, allocations: 0.8313 MB / 1.101 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002459/0.4654, allocations: 43.27 kB / 1.102 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.4655, allocations: 27.44 kB / 1.102 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.4655, allocations: 4 kB / 1.102 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of Templates: time 0.01002/0.4755, allocations: 3.974 MB / 1.105 GB, free: 5.004 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches