Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.002123/0.002123, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.515/1.515, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008975/0.0008976, allocations: 91.84 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.313e-05/2.334e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2795, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8917/1.171, allocations: 157 MB / 1.359 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.172, allocations: 93.05 kB / 1.359 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01766/1.189, allocations: 7.452 MB / 1.367 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.933e-06/1.189, allocations: 0 / 1.367 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.202e-05/1.189, allocations: 11.56 kB / 1.367 GB, free: 33.63 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0008999/1.19, allocations: 0.6433 MB / 1.367 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.19, allocations: 15.44 kB / 1.367 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/1.19, allocations: 62.36 kB / 1.367 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/1.191, allocations: 402.8 kB / 1.368 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/1.191, allocations: 13.45 kB / 1.368 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/1.191, allocations: 23.03 kB / 1.368 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003908/1.191, allocations: 223.4 kB / 1.368 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/1.192, allocations: 342.6 kB / 1.368 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.192, allocations: 0 / 1.368 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/1.192, allocations: 0 / 1.368 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/1.192, allocations: 12.98 kB / 1.368 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/1.193, allocations: 1.3 MB / 1.37 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/1.194, allocations: 295.3 kB / 1.37 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/1.194, allocations: 115.3 kB / 1.37 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/1.194, allocations: 7.828 kB / 1.37 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/1.194, allocations: 167.1 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/1.194, allocations: 0 / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0003919/1.195, allocations: 255 kB / 1.371 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/1.195, allocations: 135.3 kB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/1.195, allocations: 279.4 kB / 1.371 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/1.195, allocations: 29.2 kB / 1.371 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/1.195, allocations: 233.9 kB / 1.371 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/1.195, allocations: 93.98 kB / 1.371 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/1.195, allocations: 0 / 1.371 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.195, allocations: 347.5 kB / 1.372 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/1.196, allocations: 87.44 kB / 1.372 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/1.196, allocations: 149.9 kB / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/1.196, allocations: 102.5 kB / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.196, allocations: 3.953 kB / 1.372 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003771/1.196, allocations: 293.6 kB / 1.372 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.196, allocations: 3.875 kB / 1.372 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.196, allocations: 7.906 kB / 1.372 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.196, allocations: 6.766 kB / 1.372 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/1.197, allocations: 69.39 kB / 1.372 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.197, allocations: 3.938 kB / 1.372 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/1.197, allocations: 44.02 kB / 1.372 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/1.197, allocations: 15.22 kB / 1.372 GB, free: 30.98 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001068/1.197, allocations: 119.2 kB / 1.372 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003257/1.197, allocations: 259.2 kB / 1.373 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/1.197, allocations: 38.81 kB / 1.373 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.463e-05/1.197, allocations: 42 kB / 1.373 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.197, allocations: 3.938 kB / 1.373 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.197, allocations: 0 / 1.373 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.198, allocations: 3.047 kB / 1.373 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008108/1.198, allocations: 0.7587 MB / 1.374 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.198, allocations: 0 / 1.374 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/1.199, allocations: 58.59 kB / 1.374 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.199, allocations: 0 / 1.374 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/1.199, allocations: 0 / 1.374 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.199, allocations: 3.906 kB / 1.374 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.199, allocations: 0 / 1.374 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/1.199, allocations: 493.4 kB / 1.374 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/1.199, allocations: 143.2 kB / 1.374 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/1.199, allocations: 3.094 kB / 1.374 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/1.2, allocations: 23.8 kB / 1.374 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/1.2, allocations: 25.19 kB / 1.374 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/1.2, allocations: 13.72 kB / 1.374 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001801/1.2, allocations: 218 kB / 1.374 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.32e-07/1.2, allocations: 0 / 1.374 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003186/1.2, allocations: 80.25 kB / 1.375 GB, free: 30.09 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.0007927/1.201, allocations: 1.032 MB / 1.376 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003408/1.201, allocations: 232.8 kB / 1.376 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.201, allocations: 0 / 1.376 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/1.202, allocations: 119.7 kB / 1.376 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/1.202, allocations: 62.84 kB / 1.376 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/1.203, allocations: 0.6299 MB / 1.377 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/1.204, allocations: 0.8245 MB / 1.377 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001672/1.204, allocations: 42.27 kB / 1.377 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/1.204, allocations: 146 kB / 1.378 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.204, allocations: 0 / 1.378 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/1.231, allocations: 6.603 MB / 1.384 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/1.231, allocations: 164.8 kB / 1.384 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/3.378, allocations: 2.25 kB / 1.384 GB, free: 26.54 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat does not exist to compare? outputFormat=mat