Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001845/0.001846, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.708/1.708, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.7 MB / 0.5089 GB, free: 3.367 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.001406/0.001406, allocations: 64.42 kB / 0.6217 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.665/0.6664, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003143/0.6696, allocations: 1.539 MB / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.6705, allocations: 0.4915 MB / 0.726 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.6705, allocations: 0 / 0.726 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.6706, allocations: 0 / 0.726 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.068e-05/0.6707, allocations: 11.91 kB / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.6708, allocations: 12 kB / 0.726 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.603e-05/0.6709, allocations: 55.78 kB / 0.726 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.6711, allocations: 20 kB / 0.7261 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.6711, allocations: 23.91 kB / 0.7261 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.6712, allocations: 19.91 kB / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.6712, allocations: 4 kB / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.6712, allocations: 4 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.6713, allocations: 15.94 kB / 0.7261 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.6713, allocations: 19.92 kB / 0.7261 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.6714, allocations: 45.78 kB / 0.7262 GB, free: 10.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6714, allocations: 0 / 0.7262 GB, free: 10.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6714, allocations: 4 kB / 0.7262 GB, free: 10.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.6715, allocations: 4 kB / 0.7262 GB, free: 10.8 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005388/0.672, allocations: 359.3 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.672, allocations: 8.031 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.6721, allocations: 4.938 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.6722, allocations: 176.2 kB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.6723, allocations: 384 / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.6723, allocations: 8.375 kB / 0.7267 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.6724, allocations: 65.98 kB / 0.7268 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.6724, allocations: 0 / 0.7268 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.6724, allocations: 0 / 0.7268 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6724, allocations: 0 / 0.7268 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.773e-05/0.6725, allocations: 35.91 kB / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.673, allocations: 292.8 kB / 0.7271 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.241e-05/0.6731, allocations: 62.59 kB / 0.7272 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.6731, allocations: 28.94 kB / 0.7272 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.6732, allocations: 0 / 0.7272 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.6733, allocations: 71.38 kB / 0.7273 GB, free: 9.543 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.6733, allocations: 0 / 0.7273 GB, free: 9.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002242/0.6735, allocations: 101.5 kB / 0.7274 GB, free: 9.438 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.6736, allocations: 63.39 kB / 0.7274 GB, free: 9.363 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/0.6737, allocations: 97.86 kB / 0.7275 GB, free: 9.258 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.6737, allocations: 33.7 kB / 0.7275 GB, free: 9.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.6737, allocations: 88.03 kB / 0.7276 GB, free: 9.129 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.6738, allocations: 19.8 kB / 0.7276 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.6738, allocations: 29.7 kB / 0.7277 GB, free: 9.074 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6739, allocations: 322.8 kB / 0.728 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.674, allocations: 23.86 kB / 0.728 GB, free: 8.727 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.472e-05/0.6741, allocations: 47.42 kB / 0.728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.278e-05/0.6741, allocations: 63.38 kB / 0.7281 GB, free: 8.594 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6741, allocations: 0 / 0.7281 GB, free: 8.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001351/0.6743, allocations: 97.52 kB / 0.7282 GB, free: 8.492 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6743, allocations: 8 kB / 0.7282 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6743, allocations: 4.031 kB / 0.7282 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6743, allocations: 4 kB / 0.7282 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.6744, allocations: 11.98 kB / 0.7282 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.6744, allocations: 3.938 kB / 0.7282 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.6745, allocations: 11.94 kB / 0.7282 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.6745, allocations: 4 kB / 0.7282 GB, free: 8.445 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001015/0.6746, allocations: 117.8 kB / 0.7284 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.6746, allocations: 11.89 kB / 0.7284 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.6747, allocations: 12.25 kB / 0.7284 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.6747, allocations: 0 / 0.7284 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6747, allocations: 0 / 0.7284 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6747, allocations: 3.984 kB / 0.7284 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.6751, allocations: 354.5 kB / 0.7287 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6751, allocations: 0 / 0.7287 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.6751, allocations: 7.938 kB / 0.7287 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6751, allocations: 480 / 0.7287 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.6751, allocations: 7.984 kB / 0.7287 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6752, allocations: 7.938 kB / 0.7287 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6752, allocations: 3.984 kB / 0.7287 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.6753, allocations: 179.3 kB / 0.7289 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.6754, allocations: 85.09 kB / 0.729 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.6754, allocations: 4 kB / 0.729 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.6755, allocations: 7.938 kB / 0.729 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.6755, allocations: 7.984 kB / 0.729 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.6755, allocations: 12 kB / 0.729 GB, free: 7.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.6756, allocations: 83.27 kB / 0.7291 GB, free: 7.457 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6756, allocations: 3.938 kB / 0.7291 GB, free: 7.453 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002247/0.6758, allocations: 15.91 kB / 0.7291 GB, free: 7.438 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001117/0.6759, allocations: 99.25 kB / 0.7292 GB, free: 7.332 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.6761, allocations: 59.86 kB / 0.7293 GB, free: 7.273 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6761, allocations: 0 / 0.7293 GB, free: 7.273 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.381e-05/0.6762, allocations: 24.05 kB / 0.7293 GB, free: 7.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.6765, allocations: 19.98 kB / 0.7293 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.6768, allocations: 161.3 kB / 0.7295 GB, free: 7.047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.677, allocations: 0.6885 MB / 0.7301 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.6771, allocations: 8 kB / 0.7302 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.6771, allocations: 11.44 kB / 0.7302 GB, free: 6.312 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6771, allocations: 0 / 0.7302 GB, free: 6.312 MB / 0.545 GB Notification: Performance of Templates: time 0.002845/0.68, allocations: 0.7332 MB / 0.7309 GB, free: 5.586 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)