Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009987/0.0009988, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.763/1.763, allocations: 251.9 MB / 0.51 GB, free: 4.844 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005497/0.0005498, allocations: 16 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6496/0.6502, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.001743/0.6519, allocations: 1.393 MB / 0.7293 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004724/0.6524, allocations: 248.1 kB / 0.7296 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.6525, allocations: 4 kB / 0.7296 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.6525, allocations: 7.922 kB / 0.7296 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.6527, allocations: 55.81 kB / 0.7296 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.6529, allocations: 31.91 kB / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.653, allocations: 135.7 kB / 0.7298 GB, free: 9.531 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.6532, allocations: 17.48 kB / 0.7298 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.6533, allocations: 55.84 kB / 0.7299 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.6534, allocations: 79.66 kB / 0.7299 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.6534, allocations: 4 kB / 0.7299 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.497e-05/0.6535, allocations: 8 kB / 0.73 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.6535, allocations: 27.91 kB / 0.73 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.6535, allocations: 45.64 kB / 0.73 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.6537, allocations: 113.7 kB / 0.7301 GB, free: 9.176 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6537, allocations: 0 / 0.7301 GB, free: 9.176 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6537, allocations: 0 / 0.7301 GB, free: 9.176 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.6537, allocations: 0 / 0.7301 GB, free: 9.176 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008754/0.6546, allocations: 470.7 kB / 0.7306 GB, free: 8.668 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.6546, allocations: 12.03 kB / 0.7306 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.6547, allocations: 11.81 kB / 0.7306 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.6549, allocations: 194.7 kB / 0.7308 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.6549, allocations: 8 kB / 0.7308 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.6549, allocations: 12 kB / 0.7308 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.6553, allocations: 150.4 kB / 0.731 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6553, allocations: 0 / 0.731 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.6553, allocations: 4 kB / 0.731 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.6553, allocations: 11.95 kB / 0.731 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.6558, allocations: 143.8 kB / 0.7311 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008451/0.6566, allocations: 0.5044 MB / 0.7316 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.6572, allocations: 193.2 kB / 0.7318 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.6572, allocations: 0 / 0.7318 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003865/0.6576, allocations: 161.2 kB / 0.7319 GB, free: 7.141 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.6576, allocations: 0 / 0.7319 GB, free: 7.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0007835/0.6584, allocations: 265.5 kB / 0.7322 GB, free: 6.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.6585, allocations: 85.11 kB / 0.7323 GB, free: 6.773 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.6586, allocations: 171.2 kB / 0.7324 GB, free: 6.594 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.6587, allocations: 33.7 kB / 0.7325 GB, free: 6.555 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.6587, allocations: 112 kB / 0.7326 GB, free: 6.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.6588, allocations: 39.45 kB / 0.7326 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.6588, allocations: 4 kB / 0.7326 GB, free: 6.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6589, allocations: 322.8 kB / 0.7329 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.6591, allocations: 79.89 kB / 0.733 GB, free: 5.996 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.6594, allocations: 89.66 kB / 0.7331 GB, free: 5.902 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.6596, allocations: 79.95 kB / 0.7332 GB, free: 5.824 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.6596, allocations: 3.953 kB / 0.7332 GB, free: 5.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005404/0.6602, allocations: 221.3 kB / 0.7334 GB, free: 5.598 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6602, allocations: 8 kB / 0.7334 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6602, allocations: 4.062 kB / 0.7334 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6602, allocations: 0 / 0.7334 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.6605, allocations: 43.97 kB / 0.7334 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.6605, allocations: 3.984 kB / 0.7334 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.6607, allocations: 35.77 kB / 0.7335 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.6607, allocations: 4 kB / 0.7335 GB, free: 5.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.6609, allocations: 118.9 kB / 0.7336 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.6609, allocations: 23.84 kB / 0.7336 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006123/0.6615, allocations: 222.9 kB / 0.7338 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.6615, allocations: 4 kB / 0.7338 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6615, allocations: 0 / 0.7338 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.6615, allocations: 3.984 kB / 0.7338 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.6618, allocations: 229.5 kB / 0.734 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6618, allocations: 7.984 kB / 0.7341 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.662, allocations: 39.94 kB / 0.7341 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.662, allocations: 0 / 0.7341 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.662, allocations: 384 / 0.7341 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.662, allocations: 0 / 0.7341 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.662, allocations: 11.92 kB / 0.7341 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.6626, allocations: 251.3 kB / 0.7343 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.6626, allocations: 88.95 kB / 0.7344 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.6627, allocations: 8 kB / 0.7344 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.6629, allocations: 23.97 kB / 0.7345 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.6629, allocations: 11.98 kB / 0.7345 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.663, allocations: 11.98 kB / 0.7345 GB, free: 4.355 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001089/0.6631, allocations: 131.2 kB / 0.7346 GB, free: 4.227 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6631, allocations: 0 / 0.7346 GB, free: 4.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002223/0.6633, allocations: 32 kB / 0.7346 GB, free: 4.195 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.6635, allocations: 107.2 kB / 0.7347 GB, free: 4.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005143/0.664, allocations: 175.8 kB / 0.7349 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.664, allocations: 0 / 0.7349 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.6642, allocations: 91.94 kB / 0.735 GB, free: 3.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.6646, allocations: 55.8 kB / 0.735 GB, free: 3.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.6652, allocations: 298.7 kB / 0.7353 GB, free: 3.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.6655, allocations: 0.7127 MB / 0.736 GB, free: 2.703 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.137e-05/0.6656, allocations: 13.44 kB / 0.736 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.6656, allocations: 19.42 kB / 0.7361 GB, free: 2.668 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.6657, allocations: 0 / 0.7361 GB, free: 2.668 MB / 0.545 GB Notification: Performance of Templates: time 0.005185/0.6708, allocations: 2.237 MB / 0.7382 GB, free: 0.5078 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) Environment - environmentSimulation: