Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 289.9 MB / 297.4 MB, free: 6.414 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.001144/0.001144, allocations: 172.9 kB / 366.7 MB, free: 1.648 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.876/1.876, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008804/0.0008803, allocations: 105.9 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.137e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6703/0.6704, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/0.8492, allocations: 140.1 MB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.8495, allocations: 71.97 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02619/0.8757, allocations: 9.242 MB / 1.119 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8757, allocations: 0 / 1.119 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.153e-05/0.8758, allocations: 12 kB / 1.119 GB, free: 0.9023 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001284/0.8771, allocations: 0.7406 MB / 1.12 GB, free: 112 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.8771, allocations: 16.03 kB / 1.12 GB, free: 96 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.8773, allocations: 69.78 kB / 1.12 GB, free: 28 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/0.8782, allocations: 436.8 kB / 1.12 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.8782, allocations: 16 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-05/0.8783, allocations: 43.91 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004828/0.8788, allocations: 262.6 kB / 1.121 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.8794, allocations: 377.1 kB / 1.121 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.8794, allocations: 0 / 1.121 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.8795, allocations: 0 / 1.121 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.8795, allocations: 12 kB / 1.121 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.8816, allocations: 1.392 MB / 1.122 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006951/0.8823, allocations: 0.7967 MB / 1.123 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.8826, allocations: 155.2 kB / 1.123 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.8826, allocations: 4 kB / 1.123 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.883, allocations: 209.5 kB / 1.124 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.883, allocations: 0 / 1.124 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.0005439/0.8835, allocations: 308.9 kB / 1.124 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.8836, allocations: 114.8 kB / 1.124 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.8839, allocations: 278.4 kB / 1.124 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.884, allocations: 25.7 kB / 1.124 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.8841, allocations: 264.8 kB / 1.124 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.984e-05/0.8842, allocations: 134 kB / 1.125 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.8843, allocations: 4 kB / 1.125 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.8844, allocations: 351.9 kB / 1.125 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.8847, allocations: 120.9 kB / 1.125 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.8849, allocations: 212.4 kB / 1.125 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.8853, allocations: 148.7 kB / 1.125 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.8853, allocations: 4 kB / 1.125 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007662/0.8861, allocations: 412 kB / 1.126 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002857/0.8864, allocations: 0.56 MB / 1.126 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.8864, allocations: 4 kB / 1.126 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.8864, allocations: 3.953 kB / 1.126 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.8868, allocations: 95.77 kB / 1.126 GB, free: 9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.8868, allocations: 0 / 1.126 GB, free: 9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.8872, allocations: 79.69 kB / 1.127 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.8872, allocations: 23.98 kB / 1.127 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.074e-06/0.8872, allocations: 0 / 1.127 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000628/0.8879, allocations: 343.8 kB / 1.127 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.8879, allocations: 3.938 kB / 1.127 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.8879, allocations: 4 kB / 1.127 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.8882, allocations: 67.92 kB / 1.127 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8882, allocations: 7.984 kB / 1.127 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.8885, allocations: 65.78 kB / 1.127 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.8886, allocations: 19.98 kB / 1.127 GB, free: 8.398 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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.0001203/0.8887, allocations: 116.9 kB / 1.127 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.8888, allocations: 39.53 kB / 1.127 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.8889, allocations: 44.58 kB / 1.127 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.8889, allocations: 11.94 kB / 1.127 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.8889, allocations: 3.984 kB / 1.127 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.8889, allocations: 0 / 1.127 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.8901, allocations: 0.8702 MB / 1.128 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8901, allocations: 0.9375 kB / 1.128 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.8904, allocations: 83.89 kB / 1.128 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.8905, allocations: 0 / 1.128 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.8905, allocations: 4 kB / 1.128 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.8905, allocations: 0 / 1.128 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8905, allocations: 0 / 1.128 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006854/0.8912, allocations: 0.5589 MB / 1.129 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.8913, allocations: 116.6 kB / 1.129 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.8913, allocations: 4 kB / 1.129 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.8916, allocations: 19.98 kB / 1.129 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.8916, allocations: 23.97 kB / 1.129 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.8916, allocations: 15.98 kB / 1.129 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002058/0.8919, allocations: 223.4 kB / 1.129 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8919, allocations: 0 / 1.129 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005339/0.8924, allocations: 171.2 kB / 1.129 GB, free: 6.027 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: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002127/0.8926, allocations: 143.3 kB / 1.129 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000841/0.8935, allocations: 0.6286 MB / 1.13 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.8935, allocations: 4 kB / 1.13 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.8937, allocations: 151.8 kB / 1.13 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.8941, allocations: 73.88 kB / 1.13 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.8952, allocations: 0.6243 MB / 1.131 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.8956, allocations: 0.8657 MB / 1.132 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003017/0.8959, allocations: 71.27 kB / 1.132 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.896, allocations: 27.44 kB / 1.132 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.896, allocations: 0 / 1.132 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of Templates: time 0.009624/0.9056, allocations: 5.192 MB / 1.137 GB, free: 14.3 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)