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.575/2.575, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001146/0.001146, allocations: 180.9 kB / 492.3 MB, free: 0.5898 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.814/1.814, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009466/0.0009465, allocations: 94.02 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.833e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.36, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.353/1.713, allocations: 157.7 MB / 1.366 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/1.713, allocations: 94.67 kB / 1.367 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01988/1.733, allocations: 7.508 MB / 1.374 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.054e-06/1.733, allocations: 192 / 1.374 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.938e-05/1.733, allocations: 11.66 kB / 1.374 GB, free: 34.17 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.001351/1.735, allocations: 0.6481 MB / 1.375 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/1.735, allocations: 7.562 kB / 1.375 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/1.735, allocations: 72.23 kB / 1.375 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/1.735, allocations: 58.23 kB / 1.375 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007706/1.736, allocations: 407.8 kB / 1.375 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/1.736, allocations: 29.5 kB / 1.375 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.329e-05/1.736, allocations: 41.72 kB / 1.375 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/1.737, allocations: 388.8 kB / 1.376 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/1.737, allocations: 7.875 kB / 1.376 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/1.737, allocations: 16.94 kB / 1.376 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/1.737, allocations: 8.938 kB / 1.376 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/1.737, allocations: 254.8 kB / 1.376 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/1.739, allocations: 1.366 MB / 1.377 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/1.74, allocations: 319 kB / 1.377 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/1.74, allocations: 128.3 kB / 1.378 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.194e-05/1.74, allocations: 4.188 kB / 1.378 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000334/1.741, allocations: 175 kB / 1.378 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/1.741, allocations: 7.875 kB / 1.378 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0005352/1.741, allocations: 272.6 kB / 1.378 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/1.741, allocations: 142.8 kB / 1.378 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/1.742, allocations: 311.7 kB / 1.378 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/1.742, allocations: 36.48 kB / 1.378 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/1.742, allocations: 222.9 kB / 1.379 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/1.742, allocations: 109 kB / 1.379 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/1.742, allocations: 11.56 kB / 1.379 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.742, allocations: 352.8 kB / 1.379 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/1.742, allocations: 90.78 kB / 1.379 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/1.743, allocations: 164 kB / 1.379 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/1.743, allocations: 105 kB / 1.379 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.743, allocations: 3.844 kB / 1.379 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000466/1.743, allocations: 322.4 kB / 1.38 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.743, allocations: 3.812 kB / 1.38 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.743, allocations: 3.938 kB / 1.38 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.743, allocations: 7.906 kB / 1.38 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/1.744, allocations: 67.89 kB / 1.38 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/1.744, allocations: 0 / 1.38 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/1.744, allocations: 55.09 kB / 1.38 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/1.744, allocations: 14.41 kB / 1.38 GB, free: 31.45 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.0001472/1.744, allocations: 135.4 kB / 1.38 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/1.744, allocations: 41.78 kB / 1.38 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/1.744, allocations: 41.11 kB / 1.38 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.744, allocations: 6.266 kB / 1.38 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/1.744, allocations: 0 / 1.38 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/1.744, allocations: 0 / 1.38 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/1.746, allocations: 0.8345 MB / 1.381 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.746, allocations: 3.844 kB / 1.381 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/1.746, allocations: 50.81 kB / 1.381 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/1.746, allocations: 3.812 kB / 1.381 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/1.746, allocations: 5.875 kB / 1.381 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.746, allocations: 0 / 1.381 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.746, allocations: 3.781 kB / 1.381 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/1.747, allocations: 0.5064 MB / 1.382 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/1.747, allocations: 145.6 kB / 1.382 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/1.747, allocations: 11.47 kB / 1.382 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/1.747, allocations: 32.31 kB / 1.382 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/1.747, allocations: 29.66 kB / 1.382 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/1.747, allocations: 14.77 kB / 1.382 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002619/1.748, allocations: 241.9 kB / 1.382 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.748, allocations: 0 / 1.382 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000397/1.748, allocations: 94.55 kB / 1.382 GB, free: 30.57 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.001084/1.749, allocations: 1.052 MB / 1.383 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004148/1.749, allocations: 256.4 kB / 1.383 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.749, allocations: 0 / 1.383 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/1.75, allocations: 133.5 kB / 1.383 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/1.75, allocations: 72.83 kB / 1.384 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/1.752, allocations: 0.6496 MB / 1.384 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/1.752, allocations: 0.8272 MB / 1.385 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002405/1.753, allocations: 41.84 kB / 1.385 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/1.753, allocations: 144.4 kB / 1.385 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of SimCode: time 7.62e-07/1.753, allocations: 4 kB / 1.385 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/1.775, allocations: 7.382 MB / 1.392 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.775, allocations: 172.4 kB / 1.393 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/4.113, allocations: 0 / 1.393 GB, free: 25.47 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