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: translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.1/2.1, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001371/0.001371, allocations: 188.4 kB / 487.4 MB, free: 5.043 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.384/1.384, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.0007999/0.0007999, allocations: 87.97 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.546e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.221, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7376/0.9586, allocations: 157 MB / 1.359 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.9589, allocations: 88.73 kB / 1.359 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01623/0.9752, allocations: 7.459 MB / 1.367 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9752, allocations: 0 / 1.367 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.961e-05/0.9752, allocations: 11.53 kB / 1.367 GB, free: 33.65 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.0007361/0.976, allocations: 0.6419 MB / 1.367 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.976, allocations: 7.781 kB / 1.367 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.9761, allocations: 62.17 kB / 1.367 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.9765, allocations: 400.6 kB / 1.368 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.9766, allocations: 11.81 kB / 1.368 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.9766, allocations: 25.44 kB / 1.368 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003793/0.977, allocations: 227.5 kB / 1.368 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.9774, allocations: 342.4 kB / 1.368 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.9775, allocations: 0 / 1.368 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.9775, allocations: 0 / 1.368 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.9775, allocations: 12.95 kB / 1.368 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.9789, allocations: 1.293 MB / 1.37 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.9793, allocations: 304.9 kB / 1.37 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.9795, allocations: 118.8 kB / 1.37 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.9795, allocations: 0 / 1.37 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.9797, allocations: 167.4 kB / 1.37 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.9797, allocations: 0 / 1.37 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0003762/0.9801, allocations: 251.9 kB / 1.37 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.9802, allocations: 135.2 kB / 1.371 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.9804, allocations: 282.8 kB / 1.371 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.9805, allocations: 33.42 kB / 1.371 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.9806, allocations: 231.4 kB / 1.371 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.9806, allocations: 96.34 kB / 1.371 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.9806, allocations: 0 / 1.371 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.9808, allocations: 350.4 kB / 1.372 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.9809, allocations: 82.59 kB / 1.372 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.981, allocations: 157.7 kB / 1.372 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.9812, allocations: 94.98 kB / 1.372 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9812, allocations: 3.953 kB / 1.372 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003373/0.9815, allocations: 300.5 kB / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.9816, allocations: 7.688 kB / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9816, allocations: 0 / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.9816, allocations: 3.844 kB / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.9818, allocations: 65.22 kB / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.9818, allocations: 10.12 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.9821, allocations: 44.89 kB / 1.372 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.9821, allocations: 11.25 kB / 1.372 GB, free: 31.01 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 9.596e-05/0.9822, allocations: 112.7 kB / 1.372 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.9822, allocations: 38.03 kB / 1.372 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.9823, allocations: 43.97 kB / 1.372 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.9823, allocations: 3.906 kB / 1.372 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.9823, allocations: 4 kB / 1.372 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.9823, allocations: 2.906 kB / 1.372 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006872/0.983, allocations: 0.7549 MB / 1.373 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.983, allocations: 0 / 1.373 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.9833, allocations: 47.64 kB / 1.373 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.9833, allocations: 3.781 kB / 1.373 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.9833, allocations: 3.438 kB / 1.373 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.9833, allocations: 4 kB / 1.373 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9833, allocations: 3.938 kB / 1.373 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.9838, allocations: 489.6 kB / 1.374 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.9839, allocations: 132.8 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.984, allocations: 7.844 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.9842, allocations: 28.59 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.9842, allocations: 26.83 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.9843, allocations: 10.69 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001609/0.9844, allocations: 208.5 kB / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9844, allocations: 3.938 kB / 1.374 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002937/0.9847, allocations: 80.88 kB / 1.374 GB, free: 30.19 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.0001198/0.9849, allocations: 114.5 kB / 1.374 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.9852, allocations: 236.2 kB / 1.375 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.9852, allocations: 0 / 1.375 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.9853, allocations: 123.5 kB / 1.375 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.9857, allocations: 62.91 kB / 1.375 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.9866, allocations: 0.563 MB / 1.375 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.987, allocations: 0.8234 MB / 1.376 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.9871, allocations: 42.83 kB / 1.376 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.9872, allocations: 30.75 kB / 1.376 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.9872, allocations: 4 kB / 1.376 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of Templates: time 0.006307/0.9935, allocations: 3.368 MB / 1.379 GB, free: 28.89 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (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 & ./Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.csv","../files/Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches