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.689/1.689, allocations: 292.6 MB / 307.5 MB, free: 5.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.001088/0.001088, allocations: 185 kB / 377.1 MB, free: 1.5 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.668/1.668, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.000863/0.000863, allocations: 93.28 kB / 0.751 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004317, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2808, allocations: 116.3 MB / 0.9884 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7451/1.026, allocations: 143.9 MB / 1.129 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/1.026, allocations: 90.38 kB / 1.129 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04357/1.07, allocations: 17.45 MB / 1.146 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.015e-06/1.07, allocations: 1.031 kB / 1.146 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.157e-05/1.07, allocations: 28 kB / 1.146 GB, free: 20.68 MB / 0.7292 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.001965/1.072, allocations: 1.238 MB / 1.147 GB, free: 19.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.072, allocations: 8.031 kB / 1.147 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/1.072, allocations: 131.1 kB / 1.147 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008664/1.073, allocations: 0.5961 MB / 1.148 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/1.073, allocations: 74 kB / 1.148 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/1.073, allocations: 103.3 kB / 1.148 GB, free: 18.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/1.075, allocations: 0.9154 MB / 1.149 GB, free: 17.88 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/1.075, allocations: 1.641 kB / 1.149 GB, free: 17.88 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/1.075, allocations: 40 kB / 1.149 GB, free: 17.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/1.075, allocations: 24 kB / 1.149 GB, free: 17.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/1.076, allocations: 0.6922 MB / 1.15 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/1.08, allocations: 2.741 MB / 1.152 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/1.081, allocations: 0.7552 MB / 1.153 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/1.081, allocations: 8.656 kB / 1.153 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006398/1.081, allocations: 382 kB / 1.154 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=77): time 2.826e-06/1.081, allocations: 0 / 1.154 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77): time 0.001511/1.083, allocations: 0.9153 MB / 1.154 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/1.083, allocations: 162.9 kB / 1.155 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/1.084, allocations: 0.574 MB / 1.155 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/1.084, allocations: 45.7 kB / 1.155 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/1.084, allocations: 444.2 kB / 1.156 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/1.084, allocations: 264.1 kB / 1.156 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/1.084, allocations: 16.94 kB / 1.156 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/1.084, allocations: 330 kB / 1.156 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/1.085, allocations: 257.9 kB / 1.156 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/1.085, allocations: 371.4 kB / 1.157 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/1.086, allocations: 294.9 kB / 1.157 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.086, allocations: 0 / 1.157 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001064/1.087, allocations: 0.7504 MB / 1.158 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.357e-05/1.087, allocations: 190 kB / 1.158 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.087, allocations: 0 / 1.158 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/1.087, allocations: 4.562 kB / 1.158 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/1.087, allocations: 167.8 kB / 1.158 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.087, allocations: 0.9375 kB / 1.158 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/1.088, allocations: 115.2 kB / 1.158 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/1.088, allocations: 24 kB / 1.158 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/1.088, allocations: 6.188 kB / 1.158 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006668/1.088, allocations: 0.5321 MB / 1.159 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/1.088, allocations: 3.938 kB / 1.159 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/1.088, allocations: 4 kB / 1.159 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/1.089, allocations: 135.8 kB / 1.159 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/1.089, allocations: 7.984 kB / 1.159 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/1.089, allocations: 79.45 kB / 1.159 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/1.089, allocations: 18 kB / 1.159 GB, free: 7.633 MB / 0.7292 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 () * Number of clocked 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.0004342/1.09, allocations: 312.9 kB / 1.159 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/1.09, allocations: 82.97 kB / 1.159 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/1.09, allocations: 92.66 kB / 1.16 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.09, allocations: 8 kB / 1.16 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.09, allocations: 4.562 kB / 1.16 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/1.09, allocations: 3.984 kB / 1.16 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/1.092, allocations: 1.702 MB / 1.161 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/1.092, allocations: 4 kB / 1.161 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/1.093, allocations: 147.8 kB / 1.161 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.093, allocations: 0 / 1.161 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/1.093, allocations: 12.94 kB / 1.161 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.093, allocations: 4 kB / 1.161 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.093, allocations: 0 / 1.161 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/1.094, allocations: 1.143 MB / 1.162 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/1.094, allocations: 169.6 kB / 1.163 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/1.094, allocations: 12 kB / 1.163 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/1.095, allocations: 59.95 kB / 1.163 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/1.095, allocations: 40.59 kB / 1.163 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/1.095, allocations: 29.2 kB / 1.163 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004565/1.095, allocations: 451 kB / 1.163 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/1.095, allocations: 4 kB / 1.163 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006772/1.096, allocations: 322.5 kB / 1.164 GB, free: 2.961 MB / 0.7292 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 () * Number of clocked 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.0001935/1.096, allocations: 143.2 kB / 1.164 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001365/1.098, allocations: 0.9308 MB / 1.165 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.098, allocations: 4.125 kB / 1.165 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004461/1.098, allocations: 335.6 kB / 1.165 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/1.099, allocations: 156.7 kB / 1.165 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/1.101, allocations: 1.976 MB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/1.102, allocations: 1.033 MB / 1.168 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004313/1.102, allocations: 96.11 kB / 1.168 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/1.103, allocations: 67.42 kB / 1.168 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/1.103, allocations: 4 kB / 1.168 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of Templates: time 0.01526/1.118, allocations: 7.375 MB / 1.175 GB, free: 6.949 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)