Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.63/2.63, allocations: 284.8 MB / 297.3 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001437, allocations: 184.8 kB / 365.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.186/2.186, allocations: 205.2 MB / 0.6241 GB, free: 8.176 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 97.17 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.577e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.8475, allocations: 115.2 MB / 0.97 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2513/1.099, allocations: 144.5 MB / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/1.099, allocations: 83.95 kB / 1.111 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02913/1.128, allocations: 6.914 MB / 1.118 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.773e-06/1.128, allocations: 0 / 1.118 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.541e-05/1.129, allocations: 12 kB / 1.118 GB, free: 0.9492 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001198/1.13, allocations: 0.592 MB / 1.119 GB, free: 320 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.13, allocations: 8.031 kB / 1.119 GB, free: 312 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/1.13, allocations: 47.44 kB / 1.119 GB, free: 264 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/1.131, allocations: 384.2 kB / 1.119 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/1.131, allocations: 25 kB / 1.119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.902e-05/1.131, allocations: 32 kB / 1.119 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008152/1.132, allocations: 343.6 kB / 1.119 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/1.132, allocations: 0 / 1.119 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/1.132, allocations: 16 kB / 1.119 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/1.132, allocations: 8 kB / 1.119 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/1.133, allocations: 202.2 kB / 1.12 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/1.135, allocations: 1.252 MB / 1.121 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/1.136, allocations: 227.4 kB / 1.121 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/1.136, allocations: 98.36 kB / 1.121 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-05/1.136, allocations: 4.188 kB / 1.121 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/1.136, allocations: 50.67 kB / 1.121 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 2.755e-06/1.136, allocations: 0 / 1.121 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0006464/1.137, allocations: 219.3 kB / 1.121 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.137, allocations: 162.2 kB / 1.121 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/1.138, allocations: 299.6 kB / 1.122 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/1.138, allocations: 33.7 kB / 1.122 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/1.138, allocations: 213.5 kB / 1.122 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/1.138, allocations: 74.91 kB / 1.122 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/1.138, allocations: 12 kB / 1.122 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.138, allocations: 338.8 kB / 1.122 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/1.138, allocations: 71.98 kB / 1.122 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/1.139, allocations: 148.7 kB / 1.123 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/1.139, allocations: 83.92 kB / 1.123 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.139, allocations: 0 / 1.123 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006495/1.14, allocations: 259.2 kB / 1.123 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.14, allocations: 5.25 kB / 1.123 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.14, allocations: 4 kB / 1.123 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.14, allocations: 4.125 kB / 1.123 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/1.14, allocations: 59.86 kB / 1.123 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.14, allocations: 0 / 1.123 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/1.141, allocations: 50.66 kB / 1.123 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/1.141, allocations: 12 kB / 1.123 GB, free: 11.39 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001576/1.141, allocations: 120.9 kB / 1.123 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/1.141, allocations: 39.53 kB / 1.123 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/1.141, allocations: 43.17 kB / 1.123 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.141, allocations: 0 / 1.123 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.141, allocations: 7.953 kB / 1.123 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.141, allocations: 0 / 1.123 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007051/1.142, allocations: 413.3 kB / 1.124 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.142, allocations: 0 / 1.124 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004492/1.142, allocations: 47.92 kB / 1.124 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.142, allocations: 4 kB / 1.124 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/1.142, allocations: 7.984 kB / 1.124 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/1.143, allocations: 0 / 1.124 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.143, allocations: 0 / 1.124 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009003/1.143, allocations: 417.9 kB / 1.124 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/1.144, allocations: 144.6 kB / 1.124 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/1.144, allocations: 12.06 kB / 1.124 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/1.144, allocations: 27.97 kB / 1.124 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.144, allocations: 19.97 kB / 1.124 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/1.144, allocations: 7.75 kB / 1.124 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004265/1.145, allocations: 246.2 kB / 1.125 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.8e-07/1.145, allocations: 0 / 1.125 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005041/1.145, allocations: 79.73 kB / 1.125 GB, free: 9.703 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0002068/1.145, allocations: 103.2 kB / 1.125 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006056/1.146, allocations: 179.9 kB / 1.125 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.146, allocations: 4 kB / 1.125 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/1.146, allocations: 102.2 kB / 1.125 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/1.147, allocations: 75.48 kB / 1.125 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/1.149, allocations: 0.5142 MB / 1.126 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/1.15, allocations: 0.7992 MB / 1.126 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003298/1.15, allocations: 33.59 kB / 1.126 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/1.15, allocations: 35.42 kB / 1.126 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of SimCode: time 2.084e-06/1.15, allocations: 0 / 1.126 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.01187/1.162, allocations: 3.329 MB / 1.13 GB, free: 4.578 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)