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.666/1.666, allocations: 289.7 MB / 302.3 MB, free: 2.207 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.0009462/0.0009462, allocations: 180.8 kB / 371.6 MB, free: 3.336 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.616/1.616, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009852/0.0009856, allocations: 92.86 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.071e-05, allocations: 4 kB / 0.8663 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3231, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9952/1.318, allocations: 140.7 MB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/1.319, allocations: 75.52 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02357/1.342, allocations: 9.3 MB / 1.126 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.515e-06/1.342, allocations: 0 / 1.126 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.578e-05/1.342, allocations: 12 kB / 1.126 GB, free: 38.55 MB / 0.7448 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.001051/1.343, allocations: 0.7463 MB / 1.127 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.343, allocations: 8.031 kB / 1.127 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/1.344, allocations: 68.88 kB / 1.127 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007997/1.344, allocations: 442.5 kB / 1.128 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/1.344, allocations: 35.78 kB / 1.128 GB, free: 37.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/1.345, allocations: 56.84 kB / 1.128 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007246/1.345, allocations: 448.8 kB / 1.128 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.345, allocations: 0 / 1.128 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/1.345, allocations: 25.3 kB / 1.128 GB, free: 37.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/1.345, allocations: 8 kB / 1.128 GB, free: 37.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/1.346, allocations: 285.1 kB / 1.128 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/1.348, allocations: 1.491 MB / 1.13 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006639/1.348, allocations: 0.8132 MB / 1.131 GB, free: 35.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/1.349, allocations: 165.4 kB / 1.131 GB, free: 35.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/1.349, allocations: 4 kB / 1.131 GB, free: 35.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/1.349, allocations: 219.6 kB / 1.131 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/1.349, allocations: 0 / 1.131 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43): time 0.0005665/1.35, allocations: 338.7 kB / 1.131 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/1.35, allocations: 106.8 kB / 1.131 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/1.35, allocations: 344.4 kB / 1.132 GB, free: 34.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/1.35, allocations: 36.95 kB / 1.132 GB, free: 34.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/1.35, allocations: 255.1 kB / 1.132 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/1.35, allocations: 141.2 kB / 1.132 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/1.351, allocations: 11.5 kB / 1.132 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.351, allocations: 360.2 kB / 1.133 GB, free: 33.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/1.351, allocations: 133.2 kB / 1.133 GB, free: 33.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/1.351, allocations: 215.9 kB / 1.133 GB, free: 33.47 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/1.351, allocations: 179.7 kB / 1.133 GB, free: 33.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.351, allocations: 0.6562 kB / 1.133 GB, free: 33.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006991/1.352, allocations: 471.7 kB / 1.134 GB, free: 33.03 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001742/1.352, allocations: 0.5719 MB / 1.134 GB, free: 32.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.352, allocations: 0 / 1.134 GB, free: 32.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/1.352, allocations: 4 kB / 1.134 GB, free: 32.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/1.353, allocations: 81.48 kB / 1.134 GB, free: 32.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/1.353, allocations: 13.08 kB / 1.134 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/1.353, allocations: 89.7 kB / 1.134 GB, free: 32.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/1.353, allocations: 19 kB / 1.134 GB, free: 32.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/1.353, allocations: 0 / 1.134 GB, free: 32.27 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006799/1.354, allocations: 414.2 kB / 1.135 GB, free: 32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/1.354, allocations: 0 / 1.135 GB, free: 32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-06/1.354, allocations: 4 kB / 1.135 GB, free: 32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/1.354, allocations: 73.89 kB / 1.135 GB, free: 31.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.354, allocations: 4.938 kB / 1.135 GB, free: 31.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/1.355, allocations: 77.33 kB / 1.135 GB, free: 31.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/1.355, allocations: 19.27 kB / 1.135 GB, free: 31.86 MB / 0.7448 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.0001276/1.355, allocations: 137.8 kB / 1.135 GB, free: 31.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/1.355, allocations: 43.44 kB / 1.135 GB, free: 31.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/1.355, allocations: 54.08 kB / 1.135 GB, free: 31.67 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.355, allocations: 4 kB / 1.135 GB, free: 31.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.355, allocations: 0 / 1.135 GB, free: 31.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.355, allocations: 8.266 kB / 1.135 GB, free: 31.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/1.356, allocations: 0.9771 MB / 1.136 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.356, allocations: 0.9844 kB / 1.136 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/1.356, allocations: 78.11 kB / 1.136 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.356, allocations: 4 kB / 1.136 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/1.356, allocations: 15 kB / 1.136 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.357, allocations: 7.422 kB / 1.136 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.357, allocations: 0 / 1.136 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007393/1.357, allocations: 0.5832 MB / 1.137 GB, free: 30.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/1.357, allocations: 127 kB / 1.137 GB, free: 30.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/1.357, allocations: 10.78 kB / 1.137 GB, free: 30.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/1.358, allocations: 30.91 kB / 1.137 GB, free: 30.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/1.358, allocations: 27.64 kB / 1.137 GB, free: 30.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/1.358, allocations: 13 kB / 1.137 GB, free: 30.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002936/1.358, allocations: 280 kB / 1.137 GB, free: 30.15 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.71e-07/1.358, allocations: 0 / 1.137 GB, free: 30.15 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005866/1.359, allocations: 196.1 kB / 1.137 GB, free: 29.97 MB / 0.7448 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.0002858/1.359, allocations: 136.4 kB / 1.138 GB, free: 29.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009221/1.36, allocations: 0.6679 MB / 1.138 GB, free: 29.35 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.36, allocations: 0 / 1.138 GB, free: 29.35 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/1.36, allocations: 157.2 kB / 1.138 GB, free: 29.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/1.361, allocations: 80.23 kB / 1.138 GB, free: 29.2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/1.362, allocations: 0.6682 MB / 1.139 GB, free: 28.67 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/1.362, allocations: 0.8612 MB / 1.14 GB, free: 27.85 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003068/1.362, allocations: 75.19 kB / 1.14 GB, free: 27.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/1.363, allocations: 31.44 kB / 1.14 GB, free: 27.77 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/1.363, allocations: 1.125 kB / 1.14 GB, free: 27.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.01155/1.374, allocations: 5.87 MB / 1.146 GB, free: 24.43 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)