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: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001111/0.001111, allocations: 181.1 kB / 371.8 MB, free: 10.3 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.566/1.566, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007977/0.0007977, allocations: 100.9 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004554, allocations: 11.66 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.238, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7206/0.9587, allocations: 138.8 MB / 1.115 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.959, allocations: 73.88 kB / 1.115 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004592/0.9636, allocations: 1.373 MB / 1.116 GB, free: 31.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.106e-06/0.9637, allocations: 4 kB / 1.116 GB, free: 31.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.9637, allocations: 0 / 1.116 GB, free: 31.89 MB / 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.000563/0.9643, allocations: 361.9 kB / 1.117 GB, free: 31.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.9643, allocations: 11.61 kB / 1.117 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.9644, allocations: 33.81 kB / 1.117 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.9644, allocations: 3.875 kB / 1.117 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.9646, allocations: 177.4 kB / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.9646, allocations: 11.25 kB / 1.117 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.9646, allocations: 3.938 kB / 1.117 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.9648, allocations: 55.91 kB / 1.117 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.9648, allocations: 3 kB / 1.117 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.9648, allocations: 0 / 1.117 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.9648, allocations: 0 / 1.117 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.414e-05/0.9649, allocations: 24.09 kB / 1.117 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.9654, allocations: 313.7 kB / 1.117 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.625e-05/0.9655, allocations: 54.58 kB / 1.117 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.9656, allocations: 0 / 1.117 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.9658, allocations: 77.53 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.9658, allocations: 0 / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002398/0.966, allocations: 102.9 kB / 1.118 GB, free: 30.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.9661, allocations: 62.73 kB / 1.118 GB, free: 30.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.9661, allocations: 95.55 kB / 1.118 GB, free: 30.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.9662, allocations: 29.52 kB / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.9662, allocations: 92.02 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.9663, allocations: 21.03 kB / 1.118 GB, free: 30.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.9663, allocations: 0 / 1.118 GB, free: 30.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.9664, allocations: 323.6 kB / 1.118 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/0.9664, allocations: 12.75 kB / 1.118 GB, free: 30.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.9665, allocations: 47.22 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.9665, allocations: 27.34 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9665, allocations: 0 / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001208/0.9667, allocations: 92.95 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.9667, allocations: 9.766 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9667, allocations: 0 / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.9667, allocations: 5.391 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.9668, allocations: 17.03 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.9669, allocations: 0 / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.19e-05/0.9669, allocations: 13.89 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.9669, allocations: 3.844 kB / 1.118 GB, free: 30.16 MB / 0.698 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.562e-05/0.967, allocations: 120 kB / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.9671, allocations: 17.44 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.9671, allocations: 7.656 kB / 1.119 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.9671, allocations: 0 / 1.119 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9671, allocations: 3.875 kB / 1.119 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.9671, allocations: 0 / 1.119 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.9675, allocations: 355.1 kB / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.9675, allocations: 7.938 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.9675, allocations: 5.281 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.9675, allocations: 3.875 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.9676, allocations: 7.625 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.9676, allocations: 1.406 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9676, allocations: 3.953 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.9677, allocations: 183 kB / 1.119 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.9678, allocations: 83.05 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.9678, allocations: 4 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.9679, allocations: 14.19 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.9679, allocations: 6.844 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.9679, allocations: 3.953 kB / 1.119 GB, free: 29.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.968, allocations: 85.86 kB / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.968, allocations: 0 / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002309/0.9682, allocations: 11.59 kB / 1.119 GB, free: 29.4 MB / 0.698 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.0004164/0.9686, allocations: 0.7216 MB / 1.12 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.9688, allocations: 50.95 kB / 1.12 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9688, allocations: 0 / 1.12 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.535e-05/0.9688, allocations: 26.59 kB / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.969, allocations: 12.28 kB / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008096/0.9698, allocations: 0.9123 MB / 1.121 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.9701, allocations: 0.6859 MB / 1.122 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.9701, allocations: 6.781 kB / 1.122 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.9702, allocations: 15.09 kB / 1.122 GB, free: 27.21 MB / 0.698 GB Notification: Performance of SimCode: time 4.7e-07/0.9702, allocations: 384 / 1.122 GB, free: 27.21 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.9822, allocations: 1.488 MB / 1.123 GB, free: 27.05 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/0.9824, allocations: 206.5 kB / 1.123 GB, free: 26.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.573, allocations: 3.938 kB / 1.123 GB, free: 26.8 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)