Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 289.7 MB / 302.2 MB, free: 2.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 179.5 kB / 371.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009339/0.0009339, allocations: 93.67 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.413e-05/4.415e-05, allocations: 8 kB / 0.8663 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3215, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9724/1.294, allocations: 140.4 MB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/1.294, allocations: 75.86 kB / 1.117 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03365/1.328, allocations: 13.73 MB / 1.13 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.764e-06/1.328, allocations: 4 kB / 1.13 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.748e-05/1.328, allocations: 23.98 kB / 1.13 GB, free: 36.54 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00228/1.33, allocations: 1.027 MB / 1.131 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.33, allocations: 12.59 kB / 1.131 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004264/1.331, allocations: 115.9 kB / 1.132 GB, free: 35.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/1.332, allocations: 0.5975 MB / 1.132 GB, free: 35.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/1.332, allocations: 64.44 kB / 1.132 GB, free: 35.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/1.332, allocations: 95.53 kB / 1.132 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/1.334, allocations: 0.7944 MB / 1.133 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/1.334, allocations: 0.5625 kB / 1.133 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-05/1.334, allocations: 41.05 kB / 1.133 GB, free: 34.49 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/1.334, allocations: 24 kB / 1.133 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009262/1.335, allocations: 0.5207 MB / 1.134 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003666/1.339, allocations: 2.51 MB / 1.136 GB, free: 32.6 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009729/1.34, allocations: 1.215 MB / 1.137 GB, free: 31.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/1.34, allocations: 306.7 kB / 1.138 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/1.34, allocations: 8.562 kB / 1.138 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005342/1.341, allocations: 303 kB / 1.138 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=69): time 3.657e-06/1.341, allocations: 0 / 1.138 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69): time 0.0008553/1.342, allocations: 0.4998 MB / 1.138 GB, free: 30.76 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/1.342, allocations: 163.5 kB / 1.139 GB, free: 30.56 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/1.342, allocations: 0.5206 MB / 1.139 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/1.342, allocations: 40.8 kB / 1.139 GB, free: 30.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/1.343, allocations: 404.3 kB / 1.139 GB, free: 29.94 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/1.343, allocations: 238.9 kB / 1.14 GB, free: 29.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/1.343, allocations: 12.56 kB / 1.14 GB, free: 29.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.343, allocations: 333.5 kB / 1.14 GB, free: 29.44 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/1.343, allocations: 170.9 kB / 1.14 GB, free: 29.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/1.344, allocations: 279.1 kB / 1.14 GB, free: 29.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/1.344, allocations: 203.6 kB / 1.141 GB, free: 29.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.344, allocations: 3.953 kB / 1.141 GB, free: 29.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000825/1.345, allocations: 0.5569 MB / 1.141 GB, free: 28.63 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.613e-05/1.345, allocations: 181.2 kB / 1.141 GB, free: 28.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.345, allocations: 0.9375 kB / 1.141 GB, free: 28.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/1.345, allocations: 8.031 kB / 1.141 GB, free: 28.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/1.346, allocations: 143.2 kB / 1.142 GB, free: 28.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/1.346, allocations: 4.562 kB / 1.142 GB, free: 28.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/1.346, allocations: 106.7 kB / 1.142 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/1.346, allocations: 26.27 kB / 1.142 GB, free: 28.22 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/1.346, allocations: 4 kB / 1.142 GB, free: 28.21 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006141/1.347, allocations: 450.5 kB / 1.142 GB, free: 27.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/1.347, allocations: 8.562 kB / 1.142 GB, free: 27.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/1.347, allocations: 4.031 kB / 1.142 GB, free: 27.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/1.347, allocations: 122 kB / 1.142 GB, free: 27.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.347, allocations: 4.516 kB / 1.142 GB, free: 27.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/1.348, allocations: 80.66 kB / 1.142 GB, free: 27.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/1.348, allocations: 15 kB / 1.142 GB, free: 27.75 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0001403/1.348, allocations: 143.8 kB / 1.142 GB, free: 27.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.326e-05/1.348, allocations: 79.58 kB / 1.143 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/1.348, allocations: 88.73 kB / 1.143 GB, free: 27.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.348, allocations: 4.656 kB / 1.143 GB, free: 27.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/1.348, allocations: 4.562 kB / 1.143 GB, free: 27.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.348, allocations: 3.281 kB / 1.143 GB, free: 27.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/1.35, allocations: 1.494 MB / 1.144 GB, free: 26.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.35, allocations: 0.5156 kB / 1.144 GB, free: 26.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/1.351, allocations: 133.8 kB / 1.144 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/1.351, allocations: 4.656 kB / 1.144 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/1.351, allocations: 15.84 kB / 1.144 GB, free: 26.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/1.351, allocations: 4 kB / 1.144 GB, free: 26.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.351, allocations: 0.7031 kB / 1.144 GB, free: 26.51 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/1.352, allocations: 0.876 MB / 1.145 GB, free: 25.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/1.352, allocations: 166 kB / 1.145 GB, free: 25.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/1.352, allocations: 14.81 kB / 1.145 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/1.353, allocations: 54.16 kB / 1.145 GB, free: 25.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/1.353, allocations: 41.89 kB / 1.145 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/1.353, allocations: 22.11 kB / 1.145 GB, free: 25.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004779/1.353, allocations: 414.1 kB / 1.146 GB, free: 25.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.353, allocations: 4 kB / 1.146 GB, free: 25.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007231/1.354, allocations: 290.9 kB / 1.146 GB, free: 25.13 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * 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.00024/1.354, allocations: 128.5 kB / 1.146 GB, free: 25.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001129/1.356, allocations: 0.7304 MB / 1.147 GB, free: 24.51 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.356, allocations: 0 / 1.147 GB, free: 24.51 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003617/1.356, allocations: 254.5 kB / 1.147 GB, free: 24.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007498/1.357, allocations: 130.6 kB / 1.147 GB, free: 24.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/1.359, allocations: 1.142 MB / 1.148 GB, free: 23.35 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/1.359, allocations: 1.001 MB / 1.149 GB, free: 22.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000577/1.36, allocations: 121.4 kB / 1.149 GB, free: 22.36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/1.36, allocations: 53.8 kB / 1.149 GB, free: 22.31 MB / 0.7448 GB Notification: Performance of SimCode: time 1.001e-06/1.36, allocations: 0 / 1.149 GB, free: 22.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.01818/1.378, allocations: 7.697 MB / 1.157 GB, free: 17.83 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)