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.705/1.705, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001467/0.001467, allocations: 180.9 kB / 366.7 MB, free: 1.664 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.844/1.844, allocations: 205.2 MB / 0.626 GB, free: 7.133 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.0008848/0.0008847, allocations: 84.11 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.72e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.6448, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.8475, allocations: 139 MB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.8478, allocations: 71.95 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004491/0.8523, allocations: 1.358 MB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8524, allocations: 0 / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.8524, allocations: 0 / 1.11 GB, free: 9.762 MB / 0.7136 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.000483/0.8529, allocations: 353 kB / 1.111 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.085e-05/0.853, allocations: 8.031 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.8531, allocations: 7.984 kB / 1.111 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.8533, allocations: 179 kB / 1.111 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.8533, allocations: 2.562 kB / 1.111 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.8534, allocations: 4 kB / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000107/0.8535, allocations: 23.98 kB / 1.111 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.8536, allocations: 50.91 kB / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.8536, allocations: 0 / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.8536, allocations: 0 / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.8537, allocations: 0 / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.8543, allocations: 281.2 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.8544, allocations: 50.56 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.8545, allocations: 25.02 kB / 1.111 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.8545, allocations: 0 / 1.111 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.8547, allocations: 74.52 kB / 1.112 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.8547, allocations: 0 / 1.112 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002383/0.8549, allocations: 73.59 kB / 1.112 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.855, allocations: 55.34 kB / 1.112 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.8551, allocations: 105.8 kB / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.8551, allocations: 25.7 kB / 1.112 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.8552, allocations: 84.73 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.8552, allocations: 19.75 kB / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.8552, allocations: 0.8438 kB / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.8554, allocations: 327.4 kB / 1.112 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-05/0.8554, allocations: 12 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.254e-05/0.8555, allocations: 44.09 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.8556, allocations: 16.55 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8556, allocations: 0 / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001568/0.8557, allocations: 101.6 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.8558, allocations: 4.938 kB / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8558, allocations: 0 / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.8558, allocations: 4 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.423e-05/0.8559, allocations: 11.94 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.8559, allocations: 4.031 kB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/0.856, allocations: 11.98 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.856, allocations: 0 / 1.112 GB, free: 7.664 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 0.0001029/0.8561, allocations: 112.9 kB / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001336/0.8563, allocations: 80.81 kB / 1.113 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.8563, allocations: 4 kB / 1.113 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.8563, allocations: 12.39 kB / 1.113 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8563, allocations: 0 / 1.113 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.8563, allocations: 8 kB / 1.113 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.8564, allocations: 3.953 kB / 1.113 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.8568, allocations: 323 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8568, allocations: 3.984 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.8569, allocations: 7.938 kB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.8569, allocations: 0 / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.8569, allocations: 0 / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.8569, allocations: 4 kB / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8569, allocations: 3.953 kB / 1.113 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.8571, allocations: 175.5 kB / 1.113 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.8572, allocations: 81.02 kB / 1.113 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.8572, allocations: 2.062 kB / 1.113 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.8573, allocations: 7.984 kB / 1.113 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.8574, allocations: 11.98 kB / 1.113 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.8574, allocations: 17.77 kB / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.612e-05/0.8575, allocations: 79.28 kB / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8575, allocations: 0 / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002603/0.8577, allocations: 12 kB / 1.113 GB, free: 6.648 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.0004902/0.8582, allocations: 0.7027 MB / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.8584, allocations: 47.94 kB / 1.114 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8584, allocations: 0 / 1.114 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/0.8585, allocations: 27.94 kB / 1.114 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.8587, allocations: 9.953 kB / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.8592, allocations: 123 kB / 1.114 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.8595, allocations: 0.6902 MB / 1.115 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.8596, allocations: 8.062 kB / 1.115 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.461e-05/0.8596, allocations: 15.44 kB / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.8596, allocations: 0 / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.8808, allocations: 1.172 MB / 1.116 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/0.8812, allocations: 153.9 kB / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.453, allocations: 0 / 1.116 GB, free: 3.621 MB / 0.7136 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)