Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.001518/0.001517, allocations: 179.5 kB / 377.1 MB, free: 1.531 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.575/1.575, allocations: 205.4 MB / 0.6366 GB, free: 8.645 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.0009935/0.0009933, allocations: 87.17 kB / 0.7509 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2646, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6969/0.9615, allocations: 139.8 MB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.9618, allocations: 74.67 kB / 1.125 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003595/0.9654, allocations: 1.372 MB / 1.126 GB, free: 33.85 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.607e-06/0.9655, allocations: 0 / 1.126 GB, free: 33.85 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.9655, allocations: 0.5469 kB / 1.126 GB, free: 33.85 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.0003742/0.9659, allocations: 364.3 kB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.9659, allocations: 12.02 kB / 1.127 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.966, allocations: 42.59 kB / 1.127 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.966, allocations: 2.062 kB / 1.127 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/0.9661, allocations: 167.5 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.9661, allocations: 11.42 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.9662, allocations: 7.438 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.9663, allocations: 61.94 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.9663, allocations: 0 / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.9663, allocations: 0 / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.9663, allocations: 0 / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.079e-05/0.9664, allocations: 28.02 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.9668, allocations: 300.6 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.121e-05/0.9669, allocations: 57.98 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.967, allocations: 0.6562 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.9671, allocations: 71.3 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.9671, allocations: 0.75 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002088/0.9673, allocations: 108.4 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.9674, allocations: 59.36 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.661e-05/0.9674, allocations: 101.6 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.9675, allocations: 29.64 kB / 1.128 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.9675, allocations: 96.03 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.9675, allocations: 20.5 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.9675, allocations: 0 / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.656e-05/0.9676, allocations: 321.1 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.9676, allocations: 19.52 kB / 1.128 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.433e-05/0.9677, allocations: 46.77 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.9677, allocations: 16.5 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9677, allocations: 0 / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001179/0.9679, allocations: 102.1 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.9679, allocations: 4.844 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.9679, allocations: 0 / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.9679, allocations: 8.031 kB / 1.128 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.968, allocations: 11.56 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.968, allocations: 0 / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.9681, allocations: 16.45 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.9681, allocations: 0 / 1.128 GB, free: 31.7 MB / 0.7292 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 6.151e-05/0.9682, allocations: 125.2 kB / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.9682, allocations: 4.562 kB / 1.128 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.9682, allocations: 8.531 kB / 1.128 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.9682, allocations: 8 kB / 1.128 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9682, allocations: 1.125 kB / 1.128 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.9682, allocations: 0 / 1.128 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.9686, allocations: 359.8 kB / 1.129 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.9686, allocations: 1.359 kB / 1.129 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/0.9686, allocations: 4 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.9686, allocations: 4.031 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.9686, allocations: 12 kB / 1.129 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.9686, allocations: 0.5625 kB / 1.129 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.9686, allocations: 7.891 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.9688, allocations: 179.4 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.9688, allocations: 77.11 kB / 1.129 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.9688, allocations: 7.938 kB / 1.129 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.9689, allocations: 16.08 kB / 1.129 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.969, allocations: 7.328 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.969, allocations: 3.953 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.86e-05/0.969, allocations: 87.83 kB / 1.129 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.969, allocations: 0 / 1.129 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002183/0.9693, allocations: 16 kB / 1.129 GB, free: 30.74 MB / 0.7292 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.0003128/0.9696, allocations: 0.7177 MB / 1.13 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.9697, allocations: 55.02 kB / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.9697, allocations: 4.938 kB / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.9698, allocations: 23.94 kB / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.97, allocations: 7.562 kB / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007422/0.9707, allocations: 0.9084 MB / 1.131 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.9709, allocations: 0.6958 MB / 1.132 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.936e-05/0.9709, allocations: 7.562 kB / 1.132 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.9709, allocations: 19.44 kB / 1.132 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of SimCode: time 7.81e-07/0.971, allocations: 0 / 1.132 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.9838, allocations: 1.468 MB / 1.133 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.984, allocations: 183 kB / 1.133 GB, free: 27.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.607, allocations: 4 kB / 1.133 GB, free: 27.23 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)