Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.672/1.672, allocations: 285.6 MB / 293.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 172.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008577/0.0008577, allocations: 94.06 kB / 0.733 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.215e-05, allocations: 0 / 0.8517 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6837/0.6837, allocations: 115.3 MB / 0.9643 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.8754, allocations: 138 MB / 1.099 GB, free: 1.797 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.8758, allocations: 71.95 kB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004081/0.8798, allocations: 1.356 MB / 1.101 GB, free: 408 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8799, allocations: 3.469 kB / 1.101 GB, free: 408 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.8799, allocations: 1.406 kB / 1.101 GB, free: 408 kB / 0.698 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.0004251/0.8803, allocations: 354.1 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.8804, allocations: 12.56 kB / 1.101 GB, free: 0 / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.8805, allocations: 5.078 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.8807, allocations: 167.7 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.8807, allocations: 0 / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.8807, allocations: 4.688 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.727e-05/0.8808, allocations: 23.94 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.8809, allocations: 50.22 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.881, allocations: 0.625 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.881, allocations: 0 / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.881, allocations: 4.719 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.8815, allocations: 284.2 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.8817, allocations: 47.28 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.8817, allocations: 29.64 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.8817, allocations: 4.031 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.8819, allocations: 68.39 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.655e-06/0.882, allocations: 0.5312 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002519/0.8822, allocations: 81.31 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.8823, allocations: 53.25 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.8824, allocations: 96.98 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.8824, allocations: 29.7 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.8825, allocations: 84.14 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.8825, allocations: 24.53 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/0.8825, allocations: 0 / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.8826, allocations: 322.3 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.8827, allocations: 19.83 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.8828, allocations: 40.97 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.185e-05/0.8828, allocations: 23.92 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8828, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001362/0.883, allocations: 83.11 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.883, allocations: 8 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.883, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.883, allocations: 2.312 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.794e-05/0.8831, allocations: 8.75 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.8831, allocations: 4 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.8832, allocations: 16.02 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.8832, allocations: 4 kB / 1.102 GB, free: 14.3 MB / 0.7136 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.903e-05/0.8833, allocations: 116 kB / 1.103 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.8834, allocations: 3.906 kB / 1.103 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.8834, allocations: 12.41 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.8834, allocations: 0 / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8834, allocations: 3.984 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8834, allocations: 0 / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.8838, allocations: 328.2 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8838, allocations: 3.234 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.8839, allocations: 7.984 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.8839, allocations: 0 / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.8839, allocations: 8 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8839, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8839, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.8841, allocations: 178.2 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.8841, allocations: 85.09 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.8842, allocations: 5.562 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.8843, allocations: 4 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.8843, allocations: 7.984 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.8843, allocations: 7.984 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.8844, allocations: 91.22 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8844, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002375/0.8846, allocations: 8 kB / 1.103 GB, free: 13.38 MB / 0.7136 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 () * 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 (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.0001248/0.8848, allocations: 105.1 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.8849, allocations: 47.94 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8849, allocations: 0 / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.573e-05/0.885, allocations: 20 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.8852, allocations: 12.52 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.8854, allocations: 98.16 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.8857, allocations: 0.6885 MB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.8857, allocations: 7.984 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.8857, allocations: 11.44 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.8857, allocations: 1.125 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.002667/0.8884, allocations: 0.6368 MB / 1.105 GB, free: 11.75 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)