Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001622/0.001623, allocations: 192 kB / 377.1 MB, free: 1.512 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.601/1.601, allocations: 205.4 MB / 0.6367 GB, free: 9.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.0008549/0.000855, allocations: 89.06 kB / 0.751 GB, free: 62.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003755, allocations: 12 kB / 0.8748 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 116.3 MB / 0.9884 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8079/1.092, allocations: 140.8 MB / 1.126 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/1.092, allocations: 79.58 kB / 1.126 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0292/1.122, allocations: 10.62 MB / 1.136 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.036e-06/1.122, allocations: 0 / 1.136 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.564e-05/1.122, allocations: 16 kB / 1.136 GB, free: 27.1 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001621/1.123, allocations: 0.8881 MB / 1.137 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.923e-05/1.124, allocations: 8.031 kB / 1.137 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/1.124, allocations: 78.67 kB / 1.137 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008331/1.125, allocations: 476.8 kB / 1.138 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/1.125, allocations: 42.86 kB / 1.138 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-05/1.125, allocations: 56.8 kB / 1.138 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009329/1.126, allocations: 495.4 kB / 1.138 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/1.126, allocations: 4 kB / 1.138 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/1.126, allocations: 24.19 kB / 1.138 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/1.126, allocations: 12 kB / 1.138 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000682/1.126, allocations: 361.5 kB / 1.139 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/1.129, allocations: 1.591 MB / 1.14 GB, free: 23.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008444/1.13, allocations: 0.8962 MB / 1.141 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/1.13, allocations: 4.75 kB / 1.141 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005558/1.13, allocations: 270.2 kB / 1.141 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 2.535e-06/1.13, allocations: 3.984 kB / 1.141 GB, free: 22.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47): time 0.001117/1.132, allocations: 0.555 MB / 1.142 GB, free: 21.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.794e-05/1.132, allocations: 111.9 kB / 1.142 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/1.132, allocations: 357.5 kB / 1.142 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/1.132, allocations: 38.41 kB / 1.142 GB, free: 21.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/1.133, allocations: 267.8 kB / 1.143 GB, free: 21.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/1.133, allocations: 146.7 kB / 1.143 GB, free: 20.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/1.133, allocations: 12 kB / 1.143 GB, free: 20.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.133, allocations: 359.1 kB / 1.143 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/1.133, allocations: 194.2 kB / 1.143 GB, free: 20.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/1.134, allocations: 294.8 kB / 1.144 GB, free: 20.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/1.134, allocations: 268.3 kB / 1.144 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/1.134, allocations: 4 kB / 1.144 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00106/1.135, allocations: 0.627 MB / 1.145 GB, free: 19.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002189/1.135, allocations: 0.6817 MB / 1.145 GB, free: 18.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.136, allocations: 2.328 kB / 1.145 GB, free: 18.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.136, allocations: 4 kB / 1.145 GB, free: 18.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/1.136, allocations: 95.69 kB / 1.145 GB, free: 18.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/1.136, allocations: 4.703 kB / 1.145 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/1.137, allocations: 133.8 kB / 1.145 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/1.137, allocations: 23.66 kB / 1.145 GB, free: 18.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/1.137, allocations: 4 kB / 1.145 GB, free: 18.3 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008098/1.137, allocations: 0.5312 MB / 1.146 GB, free: 17.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/1.137, allocations: 0 / 1.146 GB, free: 17.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-06/1.137, allocations: 4 kB / 1.146 GB, free: 17.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/1.138, allocations: 76.61 kB / 1.146 GB, free: 17.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/1.138, allocations: 12.95 kB / 1.146 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/1.138, allocations: 111.3 kB / 1.146 GB, free: 17.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/1.138, allocations: 26.67 kB / 1.146 GB, free: 17.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0002596/1.139, allocations: 255.8 kB / 1.146 GB, free: 17.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/1.139, allocations: 49.09 kB / 1.146 GB, free: 17.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/1.139, allocations: 54.55 kB / 1.147 GB, free: 17.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/1.139, allocations: 8.609 kB / 1.147 GB, free: 17.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.139, allocations: 4.609 kB / 1.147 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.139, allocations: 2.156 kB / 1.147 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/1.14, allocations: 1.081 MB / 1.148 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.14, allocations: 0 / 1.148 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/1.141, allocations: 83.17 kB / 1.148 GB, free: 16.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.141, allocations: 9.078 kB / 1.148 GB, free: 16.19 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/1.141, allocations: 9.172 kB / 1.148 GB, free: 16.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.141, allocations: 5.734 kB / 1.148 GB, free: 16.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.141, allocations: 0 / 1.148 GB, free: 16.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/1.142, allocations: 0.7168 MB / 1.148 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/1.142, allocations: 131.7 kB / 1.149 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/1.142, allocations: 12.75 kB / 1.149 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/1.142, allocations: 30.3 kB / 1.149 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/1.142, allocations: 26.47 kB / 1.149 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/1.142, allocations: 14.34 kB / 1.149 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003046/1.143, allocations: 284.1 kB / 1.149 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.02e-07/1.143, allocations: 0 / 1.149 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006331/1.143, allocations: 217.3 kB / 1.149 GB, free: 14.83 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002529/1.144, allocations: 141.2 kB / 1.149 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001312/1.145, allocations: 0.9485 MB / 1.15 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.145, allocations: 0 / 1.15 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003105/1.145, allocations: 203.3 kB / 1.15 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/1.146, allocations: 87.72 kB / 1.15 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/1.147, allocations: 1.113 MB / 1.152 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/1.148, allocations: 0.8726 MB / 1.152 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002819/1.148, allocations: 63.05 kB / 1.152 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/1.148, allocations: 37.55 kB / 1.152 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/1.148, allocations: 0 / 1.152 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.01394/1.162, allocations: 6.426 MB / 1.159 GB, free: 7.762 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)