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.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.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.1-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 293 MB / 309 MB, free: 4.766 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.001046/0.001045, allocations: 185.2 kB / 378.7 MB, free: 1.004 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.82/1.82, allocations: 205.4 MB / 0.6383 GB, free: 8.211 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.0007089/0.0007089, allocations: 96.58 kB / 0.7527 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.00044, allocations: 20 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2678, allocations: 116.4 MB / 0.9905 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6698/0.9376, allocations: 140.9 MB / 1.128 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.9379, allocations: 75.86 kB / 1.128 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02843/0.9663, allocations: 10.67 MB / 1.139 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9664, allocations: 0 / 1.139 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.625e-05/0.9665, allocations: 16.56 kB / 1.139 GB, free: 26.12 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.002041/0.9685, allocations: 0.8849 MB / 1.139 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.9686, allocations: 8.031 kB / 1.139 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003513/0.9689, allocations: 76.89 kB / 1.14 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.9699, allocations: 481 kB / 1.14 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.97, allocations: 42.17 kB / 1.14 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.9702, allocations: 61.59 kB / 1.14 GB, free: 24.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009902/0.9712, allocations: 0.4928 MB / 1.141 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.9712, allocations: 3.938 kB / 1.141 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.9713, allocations: 25.27 kB / 1.141 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.9713, allocations: 12 kB / 1.141 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000789/0.9721, allocations: 357.4 kB / 1.141 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/0.975, allocations: 1.589 MB / 1.142 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008982/0.9759, allocations: 0.9039 MB / 1.143 GB, free: 21.56 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.9762, allocations: 210.7 kB / 1.144 GB, free: 21.37 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.9763, allocations: 4.797 kB / 1.144 GB, free: 21.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005414/0.9768, allocations: 265.9 kB / 1.144 GB, free: 21.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 3.807e-06/0.9769, allocations: 0 / 1.144 GB, free: 21.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47): time 0.001152/0.978, allocations: 0.5548 MB / 1.144 GB, free: 20.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.9781, allocations: 117.2 kB / 1.144 GB, free: 20.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.9787, allocations: 392.5 kB / 1.145 GB, free: 20.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.535e-05/0.9788, allocations: 42.36 kB / 1.145 GB, free: 20.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.979, allocations: 267.9 kB / 1.145 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.9792, allocations: 146.6 kB / 1.145 GB, free: 19.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.9792, allocations: 12 kB / 1.145 GB, free: 19.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.9794, allocations: 359.4 kB / 1.146 GB, free: 19.37 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.9799, allocations: 198.2 kB / 1.146 GB, free: 19.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.9804, allocations: 294.7 kB / 1.146 GB, free: 18.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.9811, allocations: 468.7 kB / 1.147 GB, free: 18.44 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.9811, allocations: 0 / 1.147 GB, free: 18.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001156/0.9823, allocations: 0.6397 MB / 1.147 GB, free: 17.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.9824, allocations: 197.5 kB / 1.147 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.9825, allocations: 8 kB / 1.147 GB, free: 17.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.9825, allocations: 4.656 kB / 1.147 GB, free: 17.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.9829, allocations: 87.5 kB / 1.147 GB, free: 17.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.9829, allocations: 1.406 kB / 1.147 GB, free: 17.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005614/0.9835, allocations: 130.2 kB / 1.148 GB, free: 17.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.9835, allocations: 28.11 kB / 1.148 GB, free: 17.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.9836, allocations: 4 kB / 1.148 GB, free: 17.39 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008101/0.9844, allocations: 0.532 MB / 1.148 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9844, allocations: 4 kB / 1.148 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.9844, allocations: 4.797 kB / 1.148 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.9847, allocations: 71.06 kB / 1.148 GB, free: 16.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.9847, allocations: 5.719 kB / 1.148 GB, free: 16.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.9852, allocations: 124 kB / 1.148 GB, free: 16.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.9853, allocations: 22.95 kB / 1.148 GB, free: 16.69 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.0003149/0.9856, allocations: 255.9 kB / 1.149 GB, free: 16.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.9857, allocations: 56.03 kB / 1.149 GB, free: 16.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.9858, allocations: 54.73 kB / 1.149 GB, free: 16.33 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.9858, allocations: 4.75 kB / 1.149 GB, free: 16.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.9858, allocations: 0 / 1.149 GB, free: 16.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.9858, allocations: 1.969 kB / 1.149 GB, free: 16.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.9875, allocations: 1.089 MB / 1.15 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.9875, allocations: 0.8125 kB / 1.15 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.9879, allocations: 79 kB / 1.15 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.9879, allocations: 0.75 kB / 1.15 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.988, allocations: 9.922 kB / 1.15 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.988, allocations: 0 / 1.15 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.988, allocations: 1.422 kB / 1.15 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.989, allocations: 0.7283 MB / 1.151 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.9891, allocations: 131.6 kB / 1.151 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.9892, allocations: 12.55 kB / 1.151 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.9894, allocations: 29.91 kB / 1.151 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/0.9895, allocations: 31.41 kB / 1.151 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.9895, allocations: 15.52 kB / 1.151 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003174/0.9899, allocations: 276.3 kB / 1.151 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.1e-07/0.9899, allocations: 0 / 1.151 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006784/0.9906, allocations: 229.4 kB / 1.151 GB, free: 13.91 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.0002469/0.9908, allocations: 127.6 kB / 1.151 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.9923, allocations: 0.9488 MB / 1.152 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.9923, allocations: 8.125 kB / 1.152 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.9926, allocations: 198.6 kB / 1.153 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.9933, allocations: 97.08 kB / 1.153 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.9951, allocations: 1.124 MB / 1.154 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.9955, allocations: 0.858 MB / 1.155 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003258/0.9958, allocations: 57.67 kB / 1.155 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.9959, allocations: 38.77 kB / 1.155 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of SimCode: time 8.92e-07/0.996, allocations: 4 kB / 1.155 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.01446/1.01, allocations: 6.543 MB / 1.161 GB, free: 6.43 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)