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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 293 MB / 309 MB, free: 4.82 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.0009678/0.0009678, allocations: 183.3 kB / 378.7 MB, free: 1.039 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.643/1.643, allocations: 205.4 MB / 0.6383 GB, free: 8.227 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.0007766/0.0007768, allocations: 90.2 kB / 0.7527 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003886, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2671, allocations: 116.4 MB / 0.9905 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7054/0.9725, allocations: 143.9 MB / 1.131 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.9728, allocations: 90.75 kB / 1.131 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0417/1.015, allocations: 17.48 MB / 1.148 GB, free: 19.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.455e-06/1.015, allocations: 0.9375 kB / 1.148 GB, free: 19.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.048e-05/1.015, allocations: 28 kB / 1.148 GB, free: 19.7 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.00263/1.017, allocations: 1.218 MB / 1.149 GB, free: 18.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/1.017, allocations: 12.03 kB / 1.149 GB, free: 18.56 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004105/1.018, allocations: 124.9 kB / 1.15 GB, free: 18.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/1.019, allocations: 0.6242 MB / 1.15 GB, free: 17.85 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.728e-05/1.019, allocations: 75.83 kB / 1.15 GB, free: 17.78 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/1.019, allocations: 104.4 kB / 1.15 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/1.021, allocations: 0.9272 MB / 1.151 GB, free: 16.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.4e-05/1.021, allocations: 3.938 kB / 1.151 GB, free: 16.87 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.054e-05/1.021, allocations: 44.38 kB / 1.151 GB, free: 16.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/1.021, allocations: 24 kB / 1.151 GB, free: 16.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/1.023, allocations: 0.6926 MB / 1.152 GB, free: 16.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003958/1.027, allocations: 2.742 MB / 1.155 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/1.028, allocations: 0.742 MB / 1.155 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/1.028, allocations: 402.8 kB / 1.156 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/1.028, allocations: 16.62 kB / 1.156 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006216/1.029, allocations: 388.3 kB / 1.156 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=77): time 4.087e-06/1.029, allocations: 0 / 1.156 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77): time 0.001508/1.03, allocations: 0.9153 MB / 1.157 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/1.031, allocations: 163.8 kB / 1.157 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007076/1.031, allocations: 0.6452 MB / 1.158 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/1.031, allocations: 45.69 kB / 1.158 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/1.032, allocations: 444.1 kB / 1.158 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/1.032, allocations: 260.2 kB / 1.159 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/1.032, allocations: 16 kB / 1.159 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.411e-05/1.032, allocations: 338 kB / 1.159 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/1.032, allocations: 249.9 kB / 1.159 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/1.033, allocations: 380.7 kB / 1.159 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008489/1.034, allocations: 0.571 MB / 1.16 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.034, allocations: 4 kB / 1.16 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001124/1.035, allocations: 0.7542 MB / 1.161 GB, free: 7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/1.035, allocations: 109.8 kB / 1.161 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.035, allocations: 0 / 1.161 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.035, allocations: 4 kB / 1.161 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/1.035, allocations: 165 kB / 1.161 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.035, allocations: 4 kB / 1.161 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/1.036, allocations: 115.2 kB / 1.161 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/1.036, allocations: 20 kB / 1.161 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/1.036, allocations: 4 kB / 1.161 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006496/1.037, allocations: 0.535 MB / 1.162 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/1.037, allocations: 0 / 1.162 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/1.037, allocations: 7.938 kB / 1.162 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/1.037, allocations: 135.8 kB / 1.162 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/1.037, allocations: 6 kB / 1.162 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/1.037, allocations: 83.31 kB / 1.162 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/1.037, allocations: 24.97 kB / 1.162 GB, free: 5.797 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.0004078/1.038, allocations: 301 kB / 1.162 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.59e-05/1.038, allocations: 83.75 kB / 1.162 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/1.038, allocations: 96.64 kB / 1.162 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.038, allocations: 8 kB / 1.162 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.038, allocations: 0 / 1.162 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/1.038, allocations: 11.97 kB / 1.162 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/1.04, allocations: 1.698 MB / 1.164 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.04, allocations: 0 / 1.164 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/1.041, allocations: 151.8 kB / 1.164 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.041, allocations: 0 / 1.164 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/1.041, allocations: 20.92 kB / 1.164 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/1.041, allocations: 2.062 kB / 1.164 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.041, allocations: 0 / 1.164 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/1.042, allocations: 1.147 MB / 1.165 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/1.042, allocations: 163.9 kB / 1.166 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-05/1.043, allocations: 20 kB / 1.166 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/1.043, allocations: 51.95 kB / 1.166 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/1.043, allocations: 48.59 kB / 1.166 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/1.043, allocations: 16.94 kB / 1.166 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004818/1.043, allocations: 463 kB / 1.166 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/1.043, allocations: 0 / 1.166 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006887/1.044, allocations: 318.5 kB / 1.166 GB, free: 1.125 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.0001715/1.044, allocations: 135.2 kB / 1.167 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00142/1.046, allocations: 0.9386 MB / 1.167 GB, free: 52 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.046, allocations: 0 / 1.167 GB, free: 52 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006181/1.046, allocations: 343.7 kB / 1.168 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009061/1.047, allocations: 163.9 kB / 1.168 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/1.05, allocations: 1.98 MB / 1.17 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/1.051, allocations: 1.006 MB / 1.171 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004484/1.051, allocations: 102.7 kB / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/1.052, allocations: 59.42 kB / 1.171 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/1.052, allocations: 0 / 1.171 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of Templates: time 0.01602/1.068, allocations: 7.483 MB / 1.178 GB, free: 5.02 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)