Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8389/0.8389, allocations: 140 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 182.8 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 426.3 MB, free: 8.395 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000785/0.000785, allocations: 96.95 kB / 0.4945 GB, free: 8.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001677/0.001677, allocations: 268.7 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004667, allocations: 16 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3754, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.5077, allocations: 108 MB / 0.8449 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.508, allocations: 71.97 kB / 0.845 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00383/0.5119, allocations: 1.374 MB / 0.8463 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5119, allocations: 3.938 kB / 0.8463 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.5119, allocations: 4 kB / 0.8463 GB, free: 0.8047 MB / 0.5105 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.0004237/0.5123, allocations: 363.2 kB / 0.8466 GB, free: 412 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5124, allocations: 12.03 kB / 0.8467 GB, free: 400 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.5124, allocations: 4.844 kB / 0.8467 GB, free: 396 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.5126, allocations: 164.4 kB / 0.8468 GB, free: 192 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.5126, allocations: 8.375 kB / 0.8468 GB, free: 184 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.5126, allocations: 4.375 kB / 0.8468 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.5127, allocations: 62.11 kB / 0.8469 GB, free: 112 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.5128, allocations: 192 / 0.8469 GB, free: 112 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.5128, allocations: 3.938 kB / 0.8469 GB, free: 108 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5128, allocations: 8 kB / 0.8469 GB, free: 100 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.264e-05/0.5129, allocations: 23.98 kB / 0.8469 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.5134, allocations: 296.8 kB / 0.8472 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.5135, allocations: 62.59 kB / 0.8473 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.5136, allocations: 24.95 kB / 0.8473 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.5136, allocations: 0 / 0.8473 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.5137, allocations: 75.28 kB / 0.8474 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.5138, allocations: 3.938 kB / 0.8474 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.000231/0.514, allocations: 93.67 kB / 0.8475 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.514, allocations: 59.34 kB / 0.8475 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.746e-05/0.5141, allocations: 105.8 kB / 0.8476 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.5142, allocations: 29.7 kB / 0.8476 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.5142, allocations: 92.05 kB / 0.8477 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.5143, allocations: 19.73 kB / 0.8477 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.5143, allocations: 4 kB / 0.8478 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5144, allocations: 322.8 kB / 0.8481 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.424e-05/0.5144, allocations: 16 kB / 0.8481 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-05/0.5145, allocations: 51.36 kB / 0.8481 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.955e-05/0.5146, allocations: 75.53 kB / 0.8482 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5146, allocations: 0 / 0.8482 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001452/0.5148, allocations: 93.89 kB / 0.8483 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.5148, allocations: 4 kB / 0.8483 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5148, allocations: 0 / 0.8483 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5148, allocations: 4 kB / 0.8483 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.5149, allocations: 19.91 kB / 0.8483 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5149, allocations: 3.984 kB / 0.8483 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.515, allocations: 15.98 kB / 0.8483 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.515, allocations: 4 kB / 0.8483 GB, free: 14.48 MB / 0.5261 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 8.626e-05/0.5151, allocations: 117.8 kB / 0.8484 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.5151, allocations: 3.906 kB / 0.8485 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.5152, allocations: 11.97 kB / 0.8485 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5152, allocations: 7.984 kB / 0.8485 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5152, allocations: 0 / 0.8485 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5152, allocations: 0 / 0.8485 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.5156, allocations: 358.4 kB / 0.8488 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5156, allocations: 0 / 0.8488 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.5156, allocations: 4 kB / 0.8488 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5156, allocations: 0 / 0.8488 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.5157, allocations: 8 kB / 0.8488 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5157, allocations: 0 / 0.8488 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5157, allocations: 3.938 kB / 0.8488 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.5159, allocations: 185.5 kB / 0.849 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.5159, allocations: 81.02 kB / 0.8491 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.5159, allocations: 11.98 kB / 0.8491 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.516, allocations: 4 kB / 0.8491 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.5161, allocations: 15.92 kB / 0.8491 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.5161, allocations: 4 kB / 0.8491 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.854e-05/0.5161, allocations: 83.27 kB / 0.8492 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5161, allocations: 4 kB / 0.8492 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002237/0.5164, allocations: 8 kB / 0.8492 GB, free: 13.48 MB / 0.5261 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 0.0001146/0.5165, allocations: 107.1 kB / 0.8493 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.5166, allocations: 60.05 kB / 0.8494 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5166, allocations: 0 / 0.8494 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-05/0.5167, allocations: 35.97 kB / 0.8494 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.517, allocations: 8.984 kB / 0.8494 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.5173, allocations: 152.6 kB / 0.8496 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.5175, allocations: 0.6848 MB / 0.8502 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.411e-05/0.5176, allocations: 12.41 kB / 0.8502 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.5176, allocations: 11.44 kB / 0.8502 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of SimCode: time 6.62e-07/0.5176, allocations: 0 / 0.8502 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.002692/0.5203, allocations: 0.6698 MB / 0.8509 GB, free: 11.7 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)