Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.727/1.727, allocations: 288.4 MB / 304.3 MB, free: 8.117 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.0009874/0.0009874, allocations: 173.7 kB / 372.9 MB, free: 10.15 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.633/1.633, allocations: 205.4 MB / 0.6317 GB, free: 9.891 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.000725/0.0007251, allocations: 86.36 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 14.5 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1996, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6093/0.809, allocations: 139.5 MB / 1.117 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.8093, allocations: 80.94 kB / 1.117 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03033/0.8396, allocations: 13.8 MB / 1.131 GB, free: 29.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8397, allocations: 7.844 kB / 1.131 GB, free: 29.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.427e-05/0.8397, allocations: 22.97 kB / 1.131 GB, free: 29.85 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001685/0.8414, allocations: 1.164 MB / 1.132 GB, free: 29.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.8415, allocations: 11.72 kB / 1.132 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.8416, allocations: 113.1 kB / 1.132 GB, free: 28.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008048/0.8424, allocations: 0.6186 MB / 1.132 GB, free: 28.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.8425, allocations: 69.44 kB / 1.133 GB, free: 28.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.93e-05/0.8426, allocations: 95.66 kB / 1.133 GB, free: 28.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.8438, allocations: 0.8643 MB / 1.133 GB, free: 28.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.8438, allocations: 3.938 kB / 1.133 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/0.8439, allocations: 38.44 kB / 1.133 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.8439, allocations: 19.38 kB / 1.134 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.8449, allocations: 0.6429 MB / 1.134 GB, free: 28.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.8479, allocations: 2.511 MB / 1.137 GB, free: 26.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.8491, allocations: 1.327 MB / 1.138 GB, free: 26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004741/0.8496, allocations: 364.8 kB / 1.138 GB, free: 25.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.8496, allocations: 11.81 kB / 1.138 GB, free: 25.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005755/0.8502, allocations: 358.3 kB / 1.139 GB, free: 25.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 3.707e-06/0.8502, allocations: 0 / 1.139 GB, free: 25.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.001387/0.8516, allocations: 0.8289 MB / 1.139 GB, free: 25.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.8517, allocations: 162.5 kB / 1.14 GB, free: 25.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.8522, allocations: 0.599 MB / 1.14 GB, free: 25.24 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.8523, allocations: 43.66 kB / 1.14 GB, free: 25.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.8525, allocations: 403.3 kB / 1.141 GB, free: 25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.8526, allocations: 237.5 kB / 1.141 GB, free: 24.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.8526, allocations: 14.25 kB / 1.141 GB, free: 24.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8528, allocations: 333.4 kB / 1.141 GB, free: 24.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.8531, allocations: 228.2 kB / 1.141 GB, free: 24.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.8536, allocations: 340.2 kB / 1.142 GB, free: 24.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/0.8543, allocations: 0.5034 MB / 1.142 GB, free: 24.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8544, allocations: 4 kB / 1.142 GB, free: 24.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009311/0.8553, allocations: 0.659 MB / 1.143 GB, free: 24.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/0.8554, allocations: 107.9 kB / 1.143 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.8554, allocations: 0 / 1.143 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.8554, allocations: 3.844 kB / 1.143 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.8559, allocations: 142.7 kB / 1.143 GB, free: 24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.8559, allocations: 7.812 kB / 1.143 GB, free: 24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.8563, allocations: 111.5 kB / 1.143 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.8563, allocations: 18.38 kB / 1.143 GB, free: 23.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.17e-06/0.8563, allocations: 3.562 kB / 1.143 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005223/0.8568, allocations: 473.7 kB / 1.144 GB, free: 23.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-06/0.8569, allocations: 0 / 1.144 GB, free: 23.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-06/0.8569, allocations: 3.844 kB / 1.144 GB, free: 23.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.8572, allocations: 119.2 kB / 1.144 GB, free: 23.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.8572, allocations: 0 / 1.144 GB, free: 23.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.8575, allocations: 76.94 kB / 1.144 GB, free: 23.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.8575, allocations: 22.91 kB / 1.144 GB, free: 23.84 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 (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.0004117/0.8579, allocations: 294 kB / 1.144 GB, free: 23.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.858, allocations: 81.73 kB / 1.144 GB, free: 23.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.8582, allocations: 77.92 kB / 1.144 GB, free: 23.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.8582, allocations: 11.67 kB / 1.144 GB, free: 23.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.8582, allocations: 0 / 1.144 GB, free: 23.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.8582, allocations: 3.984 kB / 1.144 GB, free: 23.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.8602, allocations: 1.611 MB / 1.146 GB, free: 22.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8603, allocations: 3.938 kB / 1.146 GB, free: 22.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.8608, allocations: 138.5 kB / 1.146 GB, free: 22.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.8608, allocations: 3.969 kB / 1.146 GB, free: 22.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.8608, allocations: 17.69 kB / 1.146 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.8608, allocations: 0 / 1.146 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8608, allocations: 7.844 kB / 1.146 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.8622, allocations: 1.033 MB / 1.147 GB, free: 22.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.8624, allocations: 154.6 kB / 1.147 GB, free: 22.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/0.8624, allocations: 14.91 kB / 1.147 GB, free: 22.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.8628, allocations: 60.77 kB / 1.147 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.8628, allocations: 41.5 kB / 1.147 GB, free: 22.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.8629, allocations: 13.97 kB / 1.147 GB, free: 22.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004402/0.8633, allocations: 427.8 kB / 1.148 GB, free: 22.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8633, allocations: 0 / 1.148 GB, free: 22.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000614/0.864, allocations: 298.5 kB / 1.148 GB, free: 22.18 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 (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.0002013/0.8642, allocations: 131.8 kB / 1.148 GB, free: 22.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.8654, allocations: 0.8178 MB / 1.149 GB, free: 21.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8654, allocations: 0 / 1.149 GB, free: 21.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.8658, allocations: 309.2 kB / 1.149 GB, free: 21.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.8666, allocations: 137 kB / 1.149 GB, free: 21.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.869, allocations: 1.83 MB / 1.151 GB, free: 20.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.8695, allocations: 0.9833 MB / 1.152 GB, free: 19.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000407/0.8699, allocations: 83.66 kB / 1.152 GB, free: 19.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.8701, allocations: 57.92 kB / 1.152 GB, free: 19.9 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/0.8701, allocations: 0 / 1.152 GB, free: 19.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01144/0.8815, allocations: 6.704 MB / 1.159 GB, free: 16.06 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)