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.417/2.417, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001154/0.001154, allocations: 181.2 kB / 498.1 MB, free: 5.742 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.831/1.831, allocations: 223.2 MB / 0.7948 GB, free: 18.81 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.001053/0.001053, allocations: 95.89 kB / 0.9346 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004441, allocations: 9.234 kB / 1.084 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3394, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/0.551, allocations: 157.8 MB / 1.377 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.5514, allocations: 95.94 kB / 1.377 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0208/0.5722, allocations: 7.548 MB / 1.384 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.769e-06/0.5723, allocations: 0 / 1.384 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.448e-05/0.5723, allocations: 12.12 kB / 1.384 GB, free: 3.918 MB / 0.8855 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.001598/0.574, allocations: 0.7032 MB / 1.385 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.109e-05/0.574, allocations: 8.031 kB / 1.385 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.5742, allocations: 59.3 kB / 1.385 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/0.575, allocations: 395.5 kB / 1.386 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.5751, allocations: 29 kB / 1.386 GB, free: 2.645 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.602e-05/0.5752, allocations: 40 kB / 1.386 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009073/0.5761, allocations: 422.6 kB / 1.386 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/0.5762, allocations: 3.984 kB / 1.386 GB, free: 2.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.5762, allocations: 19.92 kB / 1.386 GB, free: 2.141 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.5762, allocations: 8 kB / 1.386 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.5769, allocations: 307.8 kB / 1.386 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.5794, allocations: 1.371 MB / 1.388 GB, free: 396 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008499/0.5803, allocations: 352.8 kB / 1.388 GB, free: 36 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.5803, allocations: 4 kB / 1.388 GB, free: 32 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005433/0.5809, allocations: 198 kB / 1.388 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 3.627e-06/0.5809, allocations: 0 / 1.388 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.001052/0.5819, allocations: 438.5 kB / 1.389 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.5821, allocations: 136.5 kB / 1.389 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.5826, allocations: 312.9 kB / 1.389 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.5826, allocations: 37.7 kB / 1.389 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.5829, allocations: 240 kB / 1.389 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.583, allocations: 98.55 kB / 1.389 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.583, allocations: 8 kB / 1.389 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.5832, allocations: 354.8 kB / 1.39 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.5835, allocations: 123.9 kB / 1.39 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.5838, allocations: 183.1 kB / 1.39 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.5841, allocations: 122.9 kB / 1.39 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5841, allocations: 4 kB / 1.39 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006596/0.5848, allocations: 370.1 kB / 1.391 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.5848, allocations: 4.125 kB / 1.391 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.5848, allocations: 4 kB / 1.391 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.5849, allocations: 4 kB / 1.391 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.5852, allocations: 67.91 kB / 1.391 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.5852, allocations: 3.984 kB / 1.391 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.5854, allocations: 51.67 kB / 1.391 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.5855, allocations: 12 kB / 1.391 GB, free: 13.21 MB / 0.9011 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 () * Number of clocked 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.0002478/0.5857, allocations: 183.8 kB / 1.391 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.5858, allocations: 39.52 kB / 1.391 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.5859, allocations: 48.25 kB / 1.391 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5859, allocations: 4 kB / 1.391 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.5859, allocations: 0 / 1.391 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5859, allocations: 3.938 kB / 1.391 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.5873, allocations: 0.8662 MB / 1.392 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5873, allocations: 0 / 1.392 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.5875, allocations: 59.91 kB / 1.392 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.5876, allocations: 0 / 1.392 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.5876, allocations: 4 kB / 1.392 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5876, allocations: 4 kB / 1.392 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5876, allocations: 0 / 1.392 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/0.5885, allocations: 0.577 MB / 1.392 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.5887, allocations: 144.6 kB / 1.393 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.5888, allocations: 8 kB / 1.393 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.589, allocations: 36.03 kB / 1.393 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/0.5891, allocations: 19.97 kB / 1.393 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.5891, allocations: 15.98 kB / 1.393 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000289/0.5894, allocations: 247.2 kB / 1.393 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5894, allocations: 0 / 1.393 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003801/0.5898, allocations: 83.84 kB / 1.393 GB, free: 10.79 MB / 0.9011 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) * Number of clocked states: 0 () * 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.0001953/0.59, allocations: 115.6 kB / 1.393 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006332/0.5907, allocations: 291.7 kB / 1.393 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5907, allocations: 4.25 kB / 1.393 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.591, allocations: 151.9 kB / 1.393 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.5915, allocations: 73.41 kB / 1.394 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.5932, allocations: 0.9795 MB / 1.394 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.5936, allocations: 0.8191 MB / 1.395 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000197/0.5939, allocations: 55.19 kB / 1.395 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.594, allocations: 31.44 kB / 1.395 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of SimCode: time 4.81e-07/0.594, allocations: 0 / 1.395 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of Templates: time 0.008592/0.6026, allocations: 3.705 MB / 1.399 GB, free: 4.551 MB / 0.9011 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