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.001412/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001815/0.001815, allocations: 193.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.1 MB / 222 MB, free: 4.77 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.676/1.676, allocations: 251.6 MB / 0.5088 GB, free: 3.34 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.001367/0.001368, allocations: 63.91 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6487/0.6501, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003276/0.6534, allocations: 1.813 MB / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004976/0.654, allocations: 240.1 kB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.654, allocations: 0 / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.6541, allocations: 7.922 kB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.6542, allocations: 47.56 kB / 0.7259 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.6544, allocations: 43.94 kB / 0.7259 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.6546, allocations: 191.1 kB / 0.7261 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.6548, allocations: 21.48 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.6549, allocations: 55.84 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.6551, allocations: 79.66 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.6552, allocations: 8 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.114e-05/0.6552, allocations: 12 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.6552, allocations: 23.91 kB / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.6554, allocations: 67.66 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.6556, allocations: 161.3 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6556, allocations: 0 / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.71e-07/0.6556, allocations: 0 / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.6556, allocations: 0 / 0.7265 GB, free: 10.4 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.001048/0.6566, allocations: 474.8 kB / 0.727 GB, free: 9.883 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6567, allocations: 12.03 kB / 0.727 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.6568, allocations: 16.75 kB / 0.727 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.6569, allocations: 196 kB / 0.7272 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.657, allocations: 4.375 kB / 0.7272 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.657, allocations: 12.31 kB / 0.7272 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.6574, allocations: 151.8 kB / 0.7273 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.6574, allocations: 192 / 0.7273 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.6574, allocations: 11.92 kB / 0.7273 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.6574, allocations: 4 kB / 0.7273 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004532/0.6579, allocations: 119.9 kB / 0.7275 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000977/0.6589, allocations: 0.5005 MB / 0.7279 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.6595, allocations: 173.1 kB / 0.7281 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.6598, allocations: 73.8 kB / 0.7282 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.6598, allocations: 0 / 0.7282 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004785/0.6603, allocations: 149 kB / 0.7283 GB, free: 8.332 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.6603, allocations: 0 / 0.7283 GB, free: 8.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0007873/0.6611, allocations: 233.3 kB / 0.7285 GB, free: 8.098 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.6612, allocations: 89.09 kB / 0.7286 GB, free: 7.992 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.6614, allocations: 171.2 kB / 0.7288 GB, free: 7.816 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.6614, allocations: 29.7 kB / 0.7288 GB, free: 7.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.6615, allocations: 120 kB / 0.7289 GB, free: 7.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.6616, allocations: 39.39 kB / 0.729 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/0.6616, allocations: 33.7 kB / 0.729 GB, free: 7.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6618, allocations: 326.9 kB / 0.7293 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.6621, allocations: 71.89 kB / 0.7294 GB, free: 7.184 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.6623, allocations: 84.75 kB / 0.7295 GB, free: 7.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.6628, allocations: 149.5 kB / 0.7296 GB, free: 6.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6628, allocations: 0 / 0.7296 GB, free: 6.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005327/0.6633, allocations: 193.4 kB / 0.7298 GB, free: 6.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6633, allocations: 7.984 kB / 0.7298 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.6634, allocations: 4 kB / 0.7298 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.6634, allocations: 0 / 0.7298 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.6636, allocations: 35.97 kB / 0.7298 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.6636, allocations: 3.938 kB / 0.7298 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.6638, allocations: 27.77 kB / 0.7299 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.6639, allocations: 11.94 kB / 0.7299 GB, free: 6.66 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 (TRoo1.count,$PRE.TRoo1.count,TRoo1.T_start,$PRE.TRoo1.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.664, allocations: 117.8 kB / 0.73 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.6641, allocations: 15.89 kB / 0.73 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005912/0.6647, allocations: 207.2 kB / 0.7302 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.6647, allocations: 4 kB / 0.7302 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6647, allocations: 0 / 0.7302 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.6647, allocations: 7.938 kB / 0.7302 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.6649, allocations: 229.5 kB / 0.7304 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.665, allocations: 0 / 0.7304 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.6651, allocations: 23.98 kB / 0.7305 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6651, allocations: 4 kB / 0.7305 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.6652, allocations: 4 kB / 0.7305 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.6652, allocations: 11.92 kB / 0.7305 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6652, allocations: 0 / 0.7305 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.6657, allocations: 209.6 kB / 0.7307 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.6658, allocations: 88.95 kB / 0.7308 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.6658, allocations: 8 kB / 0.7308 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.666, allocations: 19.91 kB / 0.7308 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.6661, allocations: 19.92 kB / 0.7308 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.6661, allocations: 4 kB / 0.7308 GB, free: 5.602 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001061/0.6662, allocations: 136.3 kB / 0.7309 GB, free: 5.469 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6662, allocations: 0 / 0.7309 GB, free: 5.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000231/0.6665, allocations: 43.91 kB / 0.731 GB, free: 5.426 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 (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.0001599/0.6666, allocations: 99.19 kB / 0.7311 GB, free: 5.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005156/0.6671, allocations: 151.8 kB / 0.7312 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.6672, allocations: 0 / 0.7312 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.6674, allocations: 79.95 kB / 0.7313 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.6678, allocations: 55.62 kB / 0.7314 GB, free: 5.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.6684, allocations: 298.6 kB / 0.7316 GB, free: 4.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.6688, allocations: 0.7127 MB / 0.7323 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.625e-05/0.6689, allocations: 17.38 kB / 0.7324 GB, free: 3.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.6689, allocations: 15.44 kB / 0.7324 GB, free: 3.949 MB / 0.545 GB Notification: Performance of SimCode: time 4.4e-07/0.6689, allocations: 0 / 0.7324 GB, free: 3.949 MB / 0.545 GB Notification: Performance of Templates: time 0.005683/0.6746, allocations: 2.353 MB / 0.7347 GB, free: 1.676 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (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)