Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 289.7 MB / 302.2 MB, free: 2.207 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.001084/0.001085, allocations: 181.5 kB / 371.6 MB, free: 3.383 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.697/1.697, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.001107/0.001107, allocations: 92.25 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.425e-05/3.427e-05, allocations: 0 / 0.8663 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2943, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8636/1.158, allocations: 143.8 MB / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/1.158, allocations: 85.03 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04022/1.199, allocations: 17.4 MB / 1.137 GB, free: 32.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.484e-06/1.199, allocations: 4 kB / 1.137 GB, free: 32.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.495e-05/1.199, allocations: 31.94 kB / 1.137 GB, free: 32.61 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.00167/1.2, allocations: 1.09 MB / 1.138 GB, free: 31.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.2, allocations: 8.781 kB / 1.138 GB, free: 31.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/1.201, allocations: 128.9 kB / 1.139 GB, free: 31.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009504/1.202, allocations: 0.5968 MB / 1.139 GB, free: 31.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/1.202, allocations: 79.2 kB / 1.139 GB, free: 31.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.202, allocations: 101.5 kB / 1.139 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/1.203, allocations: 0.8428 MB / 1.14 GB, free: 30.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/1.203, allocations: 4 kB / 1.14 GB, free: 30.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/1.203, allocations: 46.27 kB / 1.14 GB, free: 30.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/1.203, allocations: 24.56 kB / 1.14 GB, free: 30.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000897/1.204, allocations: 0.5732 MB / 1.141 GB, free: 30.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004231/1.208, allocations: 2.732 MB / 1.143 GB, free: 28.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009342/1.209, allocations: 0.634 MB / 1.144 GB, free: 28.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/1.21, allocations: 347.7 kB / 1.144 GB, free: 27.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/1.21, allocations: 8.781 kB / 1.144 GB, free: 27.86 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000559/1.211, allocations: 334 kB / 1.145 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=77): time 4.308e-06/1.211, allocations: 3.938 kB / 1.145 GB, free: 27.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77): time 0.0008721/1.211, allocations: 0.5585 MB / 1.145 GB, free: 27.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/1.211, allocations: 171.3 kB / 1.145 GB, free: 27.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/1.212, allocations: 0.5607 MB / 1.146 GB, free: 26.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/1.212, allocations: 44.27 kB / 1.146 GB, free: 26.63 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/1.212, allocations: 443.8 kB / 1.146 GB, free: 26.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/1.213, allocations: 265.3 kB / 1.147 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/1.213, allocations: 13.81 kB / 1.147 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/1.213, allocations: 336.8 kB / 1.147 GB, free: 25.87 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/1.213, allocations: 194.8 kB / 1.147 GB, free: 25.76 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/1.213, allocations: 310 kB / 1.147 GB, free: 25.53 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/1.214, allocations: 233.5 kB / 1.148 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.214, allocations: 0.75 kB / 1.148 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008478/1.215, allocations: 0.6302 MB / 1.148 GB, free: 24.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.688e-05/1.215, allocations: 188.6 kB / 1.149 GB, free: 24.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.215, allocations: 0 / 1.149 GB, free: 24.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.215, allocations: 8.031 kB / 1.149 GB, free: 24.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/1.215, allocations: 163.1 kB / 1.149 GB, free: 24.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/1.215, allocations: 4 kB / 1.149 GB, free: 24.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/1.216, allocations: 107.5 kB / 1.149 GB, free: 24.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/1.216, allocations: 24.39 kB / 1.149 GB, free: 24.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/1.216, allocations: 4 kB / 1.149 GB, free: 24.53 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007411/1.217, allocations: 0.5209 MB / 1.149 GB, free: 24.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/1.217, allocations: 1.875 kB / 1.149 GB, free: 24.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/1.217, allocations: 8.734 kB / 1.149 GB, free: 24.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/1.217, allocations: 132.1 kB / 1.149 GB, free: 24.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/1.217, allocations: 4.844 kB / 1.149 GB, free: 24.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/1.218, allocations: 87.56 kB / 1.15 GB, free: 24.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/1.218, allocations: 19.84 kB / 1.15 GB, free: 24.01 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 (91): * Single equations (assignments): 91 * 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.0001456/1.218, allocations: 159 kB / 1.15 GB, free: 23.87 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.073e-05/1.218, allocations: 83.62 kB / 1.15 GB, free: 23.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/1.218, allocations: 94.48 kB / 1.15 GB, free: 23.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/1.218, allocations: 11.94 kB / 1.15 GB, free: 23.74 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/1.218, allocations: 0.6094 kB / 1.15 GB, free: 23.74 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.218, allocations: 3.422 kB / 1.15 GB, free: 23.74 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/1.22, allocations: 1.592 MB / 1.151 GB, free: 22.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.22, allocations: 4 kB / 1.151 GB, free: 22.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/1.221, allocations: 139.3 kB / 1.152 GB, free: 22.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.221, allocations: 4 kB / 1.152 GB, free: 22.72 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/1.221, allocations: 17.83 kB / 1.152 GB, free: 22.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/1.221, allocations: 7.938 kB / 1.152 GB, free: 22.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.221, allocations: 0 / 1.152 GB, free: 22.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/1.222, allocations: 0.9794 MB / 1.153 GB, free: 22.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/1.222, allocations: 172 kB / 1.153 GB, free: 21.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/1.222, allocations: 14.88 kB / 1.153 GB, free: 21.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/1.223, allocations: 53.48 kB / 1.153 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.223, allocations: 43.23 kB / 1.153 GB, free: 21.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/1.223, allocations: 24.42 kB / 1.153 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005485/1.224, allocations: 450 kB / 1.153 GB, free: 21.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/1.224, allocations: 0 / 1.153 GB, free: 21.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000776/1.224, allocations: 326.4 kB / 1.154 GB, free: 21.21 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 (77): * Single equations (assignments): 77 * 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.0002071/1.225, allocations: 133.6 kB / 1.154 GB, free: 21.08 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001123/1.226, allocations: 0.8499 MB / 1.155 GB, free: 20.51 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.226, allocations: 0 / 1.155 GB, free: 20.51 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003228/1.226, allocations: 288.5 kB / 1.155 GB, free: 20.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006873/1.227, allocations: 143.5 kB / 1.155 GB, free: 20.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/1.229, allocations: 1.248 MB / 1.156 GB, free: 19.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/1.229, allocations: 1.031 MB / 1.157 GB, free: 18.33 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006036/1.23, allocations: 142.7 kB / 1.157 GB, free: 18.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/1.23, allocations: 54.58 kB / 1.157 GB, free: 18.18 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/1.23, allocations: 0 / 1.157 GB, free: 18.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.01986/1.25, allocations: 8.566 MB / 1.166 GB, free: 13.2 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)