Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.637/1.637, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009615/0.0009613, allocations: 188.4 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007429/0.0007429, allocations: 99.95 kB / 0.7808 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 13.28 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5575, allocations: 120.3 MB / 1.026 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.7061, allocations: 142 MB / 1.165 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.7063, allocations: 70.5 kB / 1.165 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003508/0.7098, allocations: 1.407 MB / 1.166 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7099, allocations: 0 / 1.166 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.7099, allocations: 4.688 kB / 1.166 GB, free: 0.5352 MB / 0.7292 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.0003083/0.7102, allocations: 362.1 kB / 1.167 GB, free: 148 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.7102, allocations: 12.03 kB / 1.167 GB, free: 136 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.7103, allocations: 5.5 kB / 1.167 GB, free: 132 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.7104, allocations: 169.6 kB / 1.167 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.7104, allocations: 6.109 kB / 1.167 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.7104, allocations: 5.031 kB / 1.167 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.7105, allocations: 54 kB / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.7105, allocations: 192 / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.7106, allocations: 12.62 kB / 1.167 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7106, allocations: 4 kB / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.225e-05/0.7106, allocations: 24.7 kB / 1.167 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.7111, allocations: 303.6 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.7112, allocations: 59.34 kB / 1.167 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.7113, allocations: 24.3 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.7113, allocations: 0.6562 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.7114, allocations: 70.22 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.7115, allocations: 0 / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002156/0.7117, allocations: 103.7 kB / 1.168 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.7117, allocations: 60.69 kB / 1.168 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.7118, allocations: 105.4 kB / 1.168 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.7118, allocations: 26.22 kB / 1.168 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.7119, allocations: 94.59 kB / 1.168 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.7119, allocations: 25.09 kB / 1.168 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.7119, allocations: 0 / 1.168 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.712, allocations: 321.1 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.7121, allocations: 19.67 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-05/0.7121, allocations: 45.53 kB / 1.168 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.667e-05/0.7122, allocations: 69.31 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7122, allocations: 0.9688 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001363/0.7124, allocations: 93.27 kB / 1.168 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.7124, allocations: 6.406 kB / 1.168 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7124, allocations: 0 / 1.168 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.7124, allocations: 4 kB / 1.168 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.7125, allocations: 16.3 kB / 1.168 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7125, allocations: 0 / 1.168 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.7126, allocations: 16.66 kB / 1.168 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.7126, allocations: 4 kB / 1.168 GB, free: 14.35 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.7127, allocations: 121.9 kB / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.7127, allocations: 4.469 kB / 1.169 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.7127, allocations: 12.58 kB / 1.169 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.7128, allocations: 3.344 kB / 1.169 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7128, allocations: 0.875 kB / 1.169 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.7128, allocations: 1.078 kB / 1.169 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.7132, allocations: 360.3 kB / 1.169 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7132, allocations: 0.75 kB / 1.169 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.7132, allocations: 9.422 kB / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7132, allocations: 1.594 kB / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.7132, allocations: 5.547 kB / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7132, allocations: 0 / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7132, allocations: 3.938 kB / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.7134, allocations: 184.5 kB / 1.169 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.7134, allocations: 83.42 kB / 1.169 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.7135, allocations: 4.797 kB / 1.169 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.7136, allocations: 9.812 kB / 1.169 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.7136, allocations: 14.45 kB / 1.169 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.7136, allocations: 4.75 kB / 1.169 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.7137, allocations: 80.69 kB / 1.169 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7137, allocations: 0.625 kB / 1.169 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002302/0.7139, allocations: 18.09 kB / 1.169 GB, free: 13.42 MB / 0.7448 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 (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 8.379e-05/0.714, allocations: 97.12 kB / 1.169 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.7141, allocations: 57.08 kB / 1.169 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7141, allocations: 2.594 kB / 1.169 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.098e-05/0.7142, allocations: 30.97 kB / 1.169 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.7144, allocations: 10.92 kB / 1.169 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.7147, allocations: 166.6 kB / 1.17 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.715, allocations: 0.6861 MB / 1.17 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.715, allocations: 7.656 kB / 1.17 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.7151, allocations: 7.531 kB / 1.17 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of SimCode: time 2.91e-07/0.7151, allocations: 8 kB / 1.17 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.00242/0.7175, allocations: 0.6618 MB / 1.171 GB, free: 11.96 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)