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.669/2.669, allocations: 287.5 MB / 302.4 MB, free: 8.129 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.001462/0.001462, allocations: 181.1 kB / 371 MB, free: 10.76 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.119/2.119, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001157, allocations: 92.11 kB / 0.743 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004915, allocations: 10.77 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2159, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.927/1.143, allocations: 144.6 MB / 1.12 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/1.143, allocations: 80.05 kB / 1.12 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02615/1.169, allocations: 6.921 MB / 1.126 GB, free: 31.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.394e-06/1.17, allocations: 0 / 1.126 GB, free: 31.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.267e-05/1.17, allocations: 15.69 kB / 1.126 GB, free: 31.11 MB / 0.698 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.001437/1.171, allocations: 0.6552 MB / 1.127 GB, free: 30.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.171, allocations: 11.86 kB / 1.127 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/1.171, allocations: 50.59 kB / 1.127 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/1.172, allocations: 383.6 kB / 1.127 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/1.172, allocations: 21.75 kB / 1.128 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/1.172, allocations: 29.44 kB / 1.128 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008335/1.173, allocations: 362 kB / 1.128 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/1.173, allocations: 3.938 kB / 1.128 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/1.173, allocations: 12.53 kB / 1.128 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/1.173, allocations: 11.73 kB / 1.128 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007559/1.174, allocations: 252 kB / 1.128 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/1.176, allocations: 1.251 MB / 1.129 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009437/1.177, allocations: 281.2 kB / 1.13 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/1.177, allocations: 4.188 kB / 1.13 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/1.177, allocations: 38 kB / 1.13 GB, free: 29.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 3.406e-06/1.177, allocations: 0 / 1.13 GB, free: 29.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.00111/1.178, allocations: 346.6 kB / 1.13 GB, free: 29.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.636e-05/1.178, allocations: 165 kB / 1.13 GB, free: 29.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/1.179, allocations: 307.2 kB / 1.13 GB, free: 29.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/1.179, allocations: 32.45 kB / 1.13 GB, free: 29.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/1.179, allocations: 211.4 kB / 1.131 GB, free: 28.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.299e-05/1.179, allocations: 76.5 kB / 1.131 GB, free: 28.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/1.179, allocations: 3.875 kB / 1.131 GB, free: 28.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.179, allocations: 349.9 kB / 1.131 GB, free: 28.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/1.18, allocations: 87.66 kB / 1.131 GB, free: 28.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/1.18, allocations: 170 kB / 1.131 GB, free: 28.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/1.18, allocations: 108.4 kB / 1.131 GB, free: 28.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.18, allocations: 224 / 1.131 GB, free: 28.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008741/1.181, allocations: 296.8 kB / 1.132 GB, free: 28.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.181, allocations: 11.62 kB / 1.132 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.181, allocations: 3.875 kB / 1.132 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/1.181, allocations: 0 / 1.132 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/1.182, allocations: 57.22 kB / 1.132 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/1.182, allocations: 10.52 kB / 1.132 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/1.182, allocations: 43.98 kB / 1.132 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/1.182, allocations: 7.688 kB / 1.132 GB, free: 28.43 MB / 0.698 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 () * Number of clocked 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.000284/1.183, allocations: 156 kB / 1.132 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/1.183, allocations: 37.69 kB / 1.132 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/1.183, allocations: 42.62 kB / 1.132 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.183, allocations: 0 / 1.132 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.183, allocations: 0 / 1.132 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.183, allocations: 10.97 kB / 1.132 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/1.183, allocations: 416.1 kB / 1.132 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.183, allocations: 0 / 1.132 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/1.184, allocations: 54.02 kB / 1.133 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/1.184, allocations: 3.984 kB / 1.133 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/1.184, allocations: 3.938 kB / 1.133 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.184, allocations: 0 / 1.133 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.184, allocations: 3.812 kB / 1.133 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/1.185, allocations: 486.5 kB / 1.133 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/1.185, allocations: 136.5 kB / 1.133 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/1.185, allocations: 3.688 kB / 1.133 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/1.186, allocations: 35.95 kB / 1.133 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/1.186, allocations: 18.86 kB / 1.133 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/1.186, allocations: 6.672 kB / 1.133 GB, free: 27.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003604/1.186, allocations: 245.5 kB / 1.133 GB, free: 27.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/1.186, allocations: 4 kB / 1.133 GB, free: 27.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004528/1.187, allocations: 72.62 kB / 1.134 GB, free: 27.68 MB / 0.698 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) * Number of clocked states: 0 () * 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.0001691/1.187, allocations: 108.8 kB / 1.134 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007233/1.188, allocations: 231.6 kB / 1.134 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.188, allocations: 0 / 1.134 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/1.188, allocations: 112.6 kB / 1.134 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/1.189, allocations: 73.3 kB / 1.134 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/1.191, allocations: 0.8704 MB / 1.135 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/1.191, allocations: 0.8035 MB / 1.136 GB, free: 26.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002721/1.191, allocations: 53.67 kB / 1.136 GB, free: 26.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/1.191, allocations: 22.88 kB / 1.136 GB, free: 26.21 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.191, allocations: 0 / 1.136 GB, free: 26.21 MB / 0.698 GB Notification: Performance of Templates: time 0.01014/1.202, allocations: 3.325 MB / 1.139 GB, free: 24.61 MB / 0.698 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)