Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001134/0.001135, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001415/0.001415, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.435/2.435, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.89 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9522/0.9537, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003889/0.9576, allocations: 2.229 MB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0028/0.9604, allocations: 1.529 MB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004903/0.961, allocations: 8 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.9612, allocations: 59.2 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0005584/0.9618, allocations: 91.08 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009413/0.9628, allocations: 306.4 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009446/0.9637, allocations: 0.6487 MB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006105/0.9644, allocations: 357.8 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.9648, allocations: 227.2 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.9652, allocations: 266.7 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.9653, allocations: 68 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.9655, allocations: 87.98 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.9657, allocations: 127.6 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003608/0.966, allocations: 294.5 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008879/0.9669, allocations: 0.7879 MB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9669, allocations: 0 / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9669, allocations: 4 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.039e-05/0.967, allocations: 0 / 1.174 GB, free: 12.79 MB / 0.9044 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.001595/0.9686, allocations: 0.8129 MB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.9686, allocations: 8.922 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.9688, allocations: 60.28 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.9693, allocations: 363.6 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.9694, allocations: 41.69 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.9695, allocations: 64.31 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009363/0.9704, allocations: 0.4992 MB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.9705, allocations: 192 / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.9705, allocations: 31.94 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.9705, allocations: 12 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007321/0.9713, allocations: 360.6 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.9736, allocations: 1.441 MB / 1.178 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.9742, allocations: 293.3 kB / 1.178 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/0.9746, allocations: 177.6 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.9747, allocations: 8 kB / 1.178 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.9751, allocations: 199.5 kB / 1.178 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=34): time 2.605e-06/0.9751, allocations: 0 / 1.178 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34): time 0.0008634/0.976, allocations: 387.4 kB / 1.179 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.9761, allocations: 81.11 kB / 1.179 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.9766, allocations: 417.5 kB / 1.179 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.9766, allocations: 33.7 kB / 1.179 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.9769, allocations: 271.9 kB / 1.18 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.042e-05/0.977, allocations: 106.4 kB / 1.18 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.9771, allocations: 86.11 kB / 1.18 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.9773, allocations: 346.8 kB / 1.18 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.9776, allocations: 128.8 kB / 1.18 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.978, allocations: 215 kB / 1.18 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005891/0.9786, allocations: 344.6 kB / 1.181 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.9786, allocations: 0 / 1.181 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008839/0.9795, allocations: 473.9 kB / 1.181 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.9795, allocations: 41.88 kB / 1.181 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.9795, allocations: 12 kB / 1.181 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.9796, allocations: 0 / 1.181 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.9799, allocations: 75.91 kB / 1.181 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.9799, allocations: 15.86 kB / 1.181 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.9803, allocations: 75.34 kB / 1.181 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.9804, allocations: 19.98 kB / 1.181 GB, free: 5.055 MB / 0.9044 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.0002216/0.9806, allocations: 173.8 kB / 1.182 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.9807, allocations: 35.53 kB / 1.182 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006601/0.9813, allocations: 327.3 kB / 1.182 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.9814, allocations: 7.938 kB / 1.182 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.9814, allocations: 7.875 kB / 1.182 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.9814, allocations: 3.984 kB / 1.182 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.9827, allocations: 0.9752 MB / 1.183 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.9828, allocations: 0 / 1.183 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.983, allocations: 64.09 kB / 1.183 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.983, allocations: 4 kB / 1.183 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.983, allocations: 8 kB / 1.183 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.9831, allocations: 4 kB / 1.183 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.391e-05/0.9831, allocations: 7.938 kB / 1.183 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.9837, allocations: 0.5099 MB / 1.183 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.9839, allocations: 124.6 kB / 1.184 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.984, allocations: 12 kB / 1.184 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.9842, allocations: 15.98 kB / 1.184 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.9843, allocations: 31.91 kB / 1.184 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.9843, allocations: 11.94 kB / 1.184 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000335/0.9846, allocations: 287.2 kB / 1.184 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9846, allocations: 0 / 1.184 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004952/0.9851, allocations: 107.7 kB / 1.184 GB, free: 2.223 MB / 0.9044 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.0001966/0.9853, allocations: 119.1 kB / 1.184 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007729/0.9861, allocations: 387 kB / 1.184 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9861, allocations: 0 / 1.184 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.9864, allocations: 154 kB / 1.185 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.987, allocations: 62.28 kB / 1.185 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.9884, allocations: 0.7708 MB / 1.185 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.9889, allocations: 0.8198 MB / 1.186 GB, free: 15.83 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.84e-05/0.989, allocations: 39.42 kB / 1.186 GB, free: 15.79 MB / 0.92 GB Notification: Performance of SimCode: time 2.6e-07/0.989, allocations: 3.938 kB / 1.186 GB, free: 15.79 MB / 0.92 GB Notification: Performance of Templates: time 0.009357/0.9984, allocations: 5.05 MB / 1.191 GB, free: 10.75 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches