Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.825/1.825, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001818/0.001818, allocations: 180.7 kB / 377.1 MB, free: 1.52 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.736/1.736, allocations: 205.4 MB / 0.6367 GB, free: 8.543 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.0008216/0.0008216, allocations: 87.55 kB / 0.751 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004738, allocations: 12 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3425, allocations: 116.3 MB / 0.9884 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7625/1.105, allocations: 140.5 MB / 1.126 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.105, allocations: 82.22 kB / 1.126 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03661/1.142, allocations: 13.76 MB / 1.139 GB, free: 25.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.096e-06/1.142, allocations: 0 / 1.139 GB, free: 25.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.94e-05/1.142, allocations: 27.94 kB / 1.139 GB, free: 25.25 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002867/1.145, allocations: 1.172 MB / 1.14 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.145, allocations: 8.031 kB / 1.14 GB, free: 24.15 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/1.146, allocations: 117.3 kB / 1.14 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/1.147, allocations: 0.5977 MB / 1.141 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.902e-05/1.147, allocations: 73.95 kB / 1.141 GB, free: 23.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/1.147, allocations: 96.47 kB / 1.141 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/1.149, allocations: 0.8471 MB / 1.142 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/1.149, allocations: 7.938 kB / 1.142 GB, free: 22.58 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.29e-05/1.149, allocations: 41 kB / 1.142 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/1.149, allocations: 24.56 kB / 1.142 GB, free: 22.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/1.151, allocations: 0.6344 MB / 1.143 GB, free: 21.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004564/1.155, allocations: 2.506 MB / 1.145 GB, free: 19.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/1.157, allocations: 1.33 MB / 1.146 GB, free: 18.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.165e-05/1.157, allocations: 13.39 kB / 1.146 GB, free: 18.47 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007307/1.157, allocations: 354.3 kB / 1.147 GB, free: 18.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 4.759e-06/1.157, allocations: 0.8438 kB / 1.147 GB, free: 18.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.00154/1.159, allocations: 0.8318 MB / 1.148 GB, free: 17.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/1.159, allocations: 164.2 kB / 1.148 GB, free: 17.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007478/1.16, allocations: 0.5284 MB / 1.148 GB, free: 16.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/1.16, allocations: 39.3 kB / 1.148 GB, free: 16.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/1.16, allocations: 403.6 kB / 1.149 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/1.16, allocations: 240.5 kB / 1.149 GB, free: 16.12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/1.16, allocations: 16 kB / 1.149 GB, free: 16.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/1.16, allocations: 326.9 kB / 1.149 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/1.161, allocations: 229.7 kB / 1.149 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/1.161, allocations: 338.4 kB / 1.15 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/1.162, allocations: 256.5 kB / 1.15 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.162, allocations: 4 kB / 1.15 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001135/1.163, allocations: 0.668 MB / 1.151 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.951e-05/1.163, allocations: 180.6 kB / 1.151 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.163, allocations: 4 kB / 1.151 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/1.163, allocations: 0 / 1.151 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/1.164, allocations: 153.1 kB / 1.151 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/1.164, allocations: 4 kB / 1.151 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/1.164, allocations: 110 kB / 1.151 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/1.164, allocations: 21.5 kB / 1.151 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.164, allocations: 4.625 kB / 1.151 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005862/1.165, allocations: 463.4 kB / 1.152 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/1.165, allocations: 0 / 1.152 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/1.165, allocations: 4 kB / 1.152 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/1.165, allocations: 120.2 kB / 1.152 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/1.165, allocations: 4 kB / 1.152 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/1.166, allocations: 73.61 kB / 1.152 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/1.166, allocations: 25.41 kB / 1.152 GB, free: 13.32 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 (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.0004409/1.166, allocations: 288.9 kB / 1.152 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/1.166, allocations: 84.33 kB / 1.152 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/1.166, allocations: 80.28 kB / 1.152 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/1.166, allocations: 12 kB / 1.152 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/1.166, allocations: 0 / 1.152 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/1.166, allocations: 2.812 kB / 1.152 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/1.169, allocations: 1.605 MB / 1.154 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.169, allocations: 0 / 1.154 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/1.17, allocations: 142.6 kB / 1.154 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/1.17, allocations: 0 / 1.154 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/1.17, allocations: 17.25 kB / 1.154 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/1.17, allocations: 4.609 kB / 1.154 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.17, allocations: 0.8594 kB / 1.154 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/1.171, allocations: 1.039 MB / 1.155 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/1.172, allocations: 156.8 kB / 1.155 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.025e-05/1.172, allocations: 12.75 kB / 1.155 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/1.172, allocations: 57.84 kB / 1.155 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/1.172, allocations: 42.67 kB / 1.155 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/1.172, allocations: 22.44 kB / 1.155 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005543/1.173, allocations: 418.5 kB / 1.156 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.31e-07/1.173, allocations: 0 / 1.156 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007595/1.174, allocations: 292.2 kB / 1.156 GB, free: 9.477 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 (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.0002229/1.174, allocations: 130 kB / 1.156 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001721/1.175, allocations: 0.8207 MB / 1.157 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.175, allocations: 0 / 1.157 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000594/1.176, allocations: 312.5 kB / 1.157 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000867/1.177, allocations: 126 kB / 1.157 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/1.181, allocations: 1.827 MB / 1.159 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/1.181, allocations: 1.004 MB / 1.16 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005175/1.182, allocations: 85.39 kB / 1.16 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/1.182, allocations: 58.91 kB / 1.16 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of SimCode: time 8.62e-07/1.182, allocations: 0 / 1.16 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of Templates: time 0.01374/1.196, allocations: 6.605 MB / 1.167 GB, free: 15.73 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)