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 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.283/2.283, allocations: 393.5 MB / 408.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 176 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008376/0.0008375, allocations: 109.1 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.0004289, allocations: 7.469 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2793, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.4576, allocations: 150.8 MB / 1.377 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.4579, allocations: 79.95 kB / 1.377 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003957/0.4619, allocations: 1.407 MB / 1.378 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.075e-06/0.4619, allocations: 3.984 kB / 1.378 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.4619, allocations: 0 / 1.378 GB, free: 1.238 MB / 0.8698 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.0004766/0.4624, allocations: 367.2 kB / 1.378 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4624, allocations: 8.562 kB / 1.378 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.4625, allocations: 38.55 kB / 1.378 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.4625, allocations: 7.953 kB / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.4627, allocations: 167 kB / 1.379 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.4627, allocations: 4 kB / 1.379 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.4627, allocations: 4 kB / 1.379 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.4628, allocations: 61.61 kB / 1.379 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.4628, allocations: 0 / 1.379 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4628, allocations: 4 kB / 1.379 GB, free: 500 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4628, allocations: 4 kB / 1.379 GB, free: 496 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.823e-05/0.4629, allocations: 19.98 kB / 1.379 GB, free: 476 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.4634, allocations: 312.7 kB / 1.379 GB, free: 112 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.991e-05/0.4635, allocations: 54.56 kB / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.4635, allocations: 0 / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.4637, allocations: 77.45 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.4637, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0002235/0.464, allocations: 105.5 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.464, allocations: 59.41 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.4641, allocations: 96.98 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.4641, allocations: 29.7 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.4642, allocations: 92.03 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.4642, allocations: 19.8 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.4642, allocations: 0 / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4643, allocations: 314.8 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.4644, allocations: 19.98 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.167e-05/0.4644, allocations: 51.36 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.4645, allocations: 20 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4645, allocations: 0 / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001419/0.4646, allocations: 101.7 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.4647, allocations: 4 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4647, allocations: 0 / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4647, allocations: 4 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.4648, allocations: 19.98 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4648, allocations: 0 / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.4649, allocations: 11.98 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.4649, allocations: 4 kB / 1.38 GB, free: 14.96 MB / 0.8855 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 9.853e-05/0.465, allocations: 118.6 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.465, allocations: 7.906 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.465, allocations: 7.969 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.465, allocations: 64 / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.4651, allocations: 11.95 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4651, allocations: 3.984 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.4655, allocations: 366.8 kB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4655, allocations: 0 / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.4656, allocations: 4 kB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4656, allocations: 0 / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.4656, allocations: 7.953 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4656, allocations: 4 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4656, allocations: 3.938 kB / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.4658, allocations: 179.4 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.4658, allocations: 77.11 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.4658, allocations: 7.938 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.4659, allocations: 11.94 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.466, allocations: 15.98 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.466, allocations: 0 / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.466, allocations: 79.28 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.403e-06/0.466, allocations: 0 / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002271/0.4663, allocations: 19.94 kB / 1.381 GB, free: 13.95 MB / 0.8855 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.0004466/0.4667, allocations: 0.7202 MB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.4669, allocations: 55.92 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4669, allocations: 0 / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/0.4669, allocations: 24.22 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.4671, allocations: 20.06 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.4681, allocations: 0.9111 MB / 1.383 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.4684, allocations: 0.6926 MB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.186e-05/0.4684, allocations: 4 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.4685, allocations: 15.44 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.4685, allocations: 0 / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01184/0.4803, allocations: 1.475 MB / 1.385 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.4806, allocations: 192.8 kB / 1.385 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.03, allocations: 4 kB / 1.385 GB, free: 9.84 MB / 0.8855 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat does not exist to compare? outputFormat=mat