Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 288.3 MB / 303.2 MB, free: 8.129 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.001024/0.001024, allocations: 173.1 kB / 371.8 MB, free: 10.28 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.792/1.792, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009883/0.0009884, allocations: 93.2 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003889, allocations: 11.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.239, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7183/0.9574, allocations: 142.9 MB / 1.119 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.9576, allocations: 88.5 kB / 1.119 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03689/0.9945, allocations: 17.44 MB / 1.136 GB, free: 27.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9946, allocations: 0 / 1.136 GB, free: 27.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.115e-05/0.9947, allocations: 23.06 kB / 1.136 GB, free: 27.01 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002292/0.997, allocations: 1.241 MB / 1.137 GB, free: 26.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.997, allocations: 11.77 kB / 1.137 GB, free: 26.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003189/0.9973, allocations: 135 kB / 1.137 GB, free: 26.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.9985, allocations: 0.5982 MB / 1.138 GB, free: 25.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.9985, allocations: 72.34 kB / 1.138 GB, free: 25.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.9987, allocations: 104.4 kB / 1.138 GB, free: 25.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/1, allocations: 0.9074 MB / 1.139 GB, free: 25.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/1, allocations: 3.719 kB / 1.139 GB, free: 25.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/1, allocations: 47.42 kB / 1.139 GB, free: 25.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/1, allocations: 23.16 kB / 1.139 GB, free: 25.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/1.001, allocations: 0.694 MB / 1.14 GB, free: 25.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/1.005, allocations: 2.738 MB / 1.143 GB, free: 23.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/1.006, allocations: 0.7462 MB / 1.143 GB, free: 23.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/1.006, allocations: 12.33 kB / 1.143 GB, free: 23.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005868/1.006, allocations: 383.9 kB / 1.144 GB, free: 23.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=77): time 2.534e-06/1.006, allocations: 0 / 1.144 GB, free: 23.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=77): time 0.001383/1.008, allocations: 0.9147 MB / 1.145 GB, free: 23.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/1.008, allocations: 162.2 kB / 1.145 GB, free: 23.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005429/1.008, allocations: 0.5723 MB / 1.145 GB, free: 23.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/1.009, allocations: 45.08 kB / 1.145 GB, free: 23.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/1.009, allocations: 446.5 kB / 1.146 GB, free: 22.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/1.009, allocations: 258.7 kB / 1.146 GB, free: 22.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/1.009, allocations: 18.19 kB / 1.146 GB, free: 22.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.009, allocations: 340.1 kB / 1.146 GB, free: 22.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/1.009, allocations: 254.1 kB / 1.147 GB, free: 22.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/1.01, allocations: 373.6 kB / 1.147 GB, free: 22.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/1.01, allocations: 286.9 kB / 1.147 GB, free: 22.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.01, allocations: 3.969 kB / 1.147 GB, free: 22.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00101/1.011, allocations: 0.7529 MB / 1.148 GB, free: 21.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.743e-05/1.012, allocations: 185.3 kB / 1.148 GB, free: 21.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.012, allocations: 3.844 kB / 1.148 GB, free: 21.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/1.012, allocations: 4 kB / 1.148 GB, free: 21.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/1.012, allocations: 169.5 kB / 1.148 GB, free: 21.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.012, allocations: 7.859 kB / 1.148 GB, free: 21.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/1.012, allocations: 116 kB / 1.148 GB, free: 21.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/1.013, allocations: 23.31 kB / 1.148 GB, free: 21.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.762e-06/1.013, allocations: 3.969 kB / 1.148 GB, free: 21.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006464/1.013, allocations: 0.5261 MB / 1.149 GB, free: 21.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/1.013, allocations: 3.812 kB / 1.149 GB, free: 21.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/1.013, allocations: 3.875 kB / 1.149 GB, free: 21.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/1.014, allocations: 138.1 kB / 1.149 GB, free: 21.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/1.014, allocations: 7.875 kB / 1.149 GB, free: 21.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/1.014, allocations: 76.66 kB / 1.149 GB, free: 21.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/1.014, allocations: 22.97 kB / 1.149 GB, free: 21.55 MB / 0.698 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.0003676/1.014, allocations: 302.8 kB / 1.149 GB, free: 21.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/1.014, allocations: 85.33 kB / 1.15 GB, free: 21.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/1.015, allocations: 95.12 kB / 1.15 GB, free: 21.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.015, allocations: 7.719 kB / 1.15 GB, free: 21.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.015, allocations: 0 / 1.15 GB, free: 21.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.015, allocations: 3.984 kB / 1.15 GB, free: 21.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/1.017, allocations: 1.708 MB / 1.151 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.017, allocations: 3.984 kB / 1.151 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/1.017, allocations: 138.1 kB / 1.151 GB, free: 20.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/1.017, allocations: 3.781 kB / 1.151 GB, free: 20.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/1.017, allocations: 18.48 kB / 1.151 GB, free: 20.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/1.017, allocations: 7.812 kB / 1.151 GB, free: 20.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.017, allocations: 0 / 1.151 GB, free: 20.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/1.019, allocations: 1.138 MB / 1.153 GB, free: 20.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/1.019, allocations: 170.8 kB / 1.153 GB, free: 20.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/1.019, allocations: 14.84 kB / 1.153 GB, free: 20.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/1.019, allocations: 57.67 kB / 1.153 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/1.019, allocations: 46.81 kB / 1.153 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/1.019, allocations: 23.44 kB / 1.153 GB, free: 20.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004312/1.02, allocations: 461.3 kB / 1.153 GB, free: 19.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/1.02, allocations: 7.938 kB / 1.153 GB, free: 19.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005964/1.02, allocations: 323.4 kB / 1.154 GB, free: 19.85 MB / 0.698 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.0001637/1.02, allocations: 132.5 kB / 1.154 GB, free: 19.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001305/1.022, allocations: 0.9351 MB / 1.155 GB, free: 19.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.022, allocations: 7.781 kB / 1.155 GB, free: 19.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/1.022, allocations: 335.4 kB / 1.155 GB, free: 19.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/1.023, allocations: 142.1 kB / 1.155 GB, free: 19.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/1.025, allocations: 1.97 MB / 1.157 GB, free: 18.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/1.025, allocations: 1.036 MB / 1.158 GB, free: 17.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003467/1.026, allocations: 99.78 kB / 1.158 GB, free: 17.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/1.026, allocations: 62.86 kB / 1.158 GB, free: 17.34 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/1.026, allocations: 3.938 kB / 1.158 GB, free: 17.34 MB / 0.698 GB Notification: Performance of Templates: time 0.01223/1.038, allocations: 7.396 MB / 1.165 GB, free: 10.04 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)