Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.589/1.589, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000956/0.0009561, allocations: 188.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 223.2 MB / 0.6626 GB, free: 4.305 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007786/0.0007787, allocations: 103.7 kB / 0.7808 GB, free: 43.6 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003737, allocations: 19.94 kB / 0.9088 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5574/0.5578, allocations: 120.3 MB / 1.026 GB, free: 56.94 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1921/0.7499, allocations: 143 MB / 1.166 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.7502, allocations: 79.95 kB / 1.166 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02564/0.7758, allocations: 9.35 MB / 1.175 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.44e-06/0.7759, allocations: 0 / 1.175 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.835e-05/0.776, allocations: 19.88 kB / 1.175 GB, free: 5.738 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.001721/0.7777, allocations: 0.8241 MB / 1.176 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7777, allocations: 8.031 kB / 1.176 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.778, allocations: 68.19 kB / 1.176 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008931/0.7789, allocations: 466.9 kB / 1.177 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.917e-05/0.779, allocations: 33.38 kB / 1.177 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.7791, allocations: 56.36 kB / 1.177 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.78, allocations: 471.6 kB / 1.177 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.78, allocations: 7.938 kB / 1.177 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.7801, allocations: 23.98 kB / 1.177 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.7801, allocations: 12 kB / 1.177 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006957/0.7808, allocations: 343.8 kB / 1.177 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.7832, allocations: 1.494 MB / 1.179 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.7842, allocations: 0.875 MB / 1.18 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.7845, allocations: 196.8 kB / 1.18 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.7845, allocations: 4 kB / 1.18 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004823/0.785, allocations: 243.2 kB / 1.18 GB, free: 364 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=43): time 3.567e-06/0.7851, allocations: 0 / 1.18 GB, free: 364 kB / 0.7448 GB Notification: Performance of matching and sorting (n=43): time 0.001013/0.7861, allocations: 0.5163 MB / 1.181 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.7862, allocations: 110.8 kB / 1.181 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.7866, allocations: 393.9 kB / 1.181 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.7867, allocations: 41.69 kB / 1.181 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.7869, allocations: 260.5 kB / 1.181 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.787, allocations: 138 kB / 1.182 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.787, allocations: 8 kB / 1.182 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.7872, allocations: 358.8 kB / 1.182 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.7876, allocations: 164.8 kB / 1.182 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.7879, allocations: 245.2 kB / 1.182 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006311/0.7886, allocations: 398.2 kB / 1.183 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7886, allocations: 3.938 kB / 1.183 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000908/0.7895, allocations: 0.5244 MB / 1.183 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.7896, allocations: 166.9 kB / 1.183 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.7897, allocations: 4 kB / 1.183 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7897, allocations: 0 / 1.183 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.79, allocations: 87.89 kB / 1.184 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.7901, allocations: 11.94 kB / 1.184 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.7904, allocations: 87.62 kB / 1.184 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.7905, allocations: 16 kB / 1.184 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.7905, allocations: 8 kB / 1.184 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006668/0.7912, allocations: 417.1 kB / 1.184 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.7912, allocations: 0 / 1.184 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.7912, allocations: 4 kB / 1.184 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.7915, allocations: 71.91 kB / 1.184 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7915, allocations: 4 kB / 1.184 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.7918, allocations: 83.73 kB / 1.184 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.7919, allocations: 16 kB / 1.184 GB, free: 12.13 MB / 0.7605 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 () * Number of clocked 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.000274/0.7922, allocations: 261.5 kB / 1.184 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.7922, allocations: 43.44 kB / 1.184 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.7923, allocations: 56.88 kB / 1.185 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.7923, allocations: 4 kB / 1.185 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.7924, allocations: 3.938 kB / 1.185 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.7924, allocations: 3.984 kB / 1.185 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.7938, allocations: 1.027 MB / 1.186 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7938, allocations: 0 / 1.186 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.7941, allocations: 71.91 kB / 1.186 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.7942, allocations: 4 kB / 1.186 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.7942, allocations: 11.98 kB / 1.186 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.7942, allocations: 0 / 1.186 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7942, allocations: 4 kB / 1.186 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.7953, allocations: 0.6763 MB / 1.186 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.7954, allocations: 124.5 kB / 1.186 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.7954, allocations: 11.98 kB / 1.186 GB, free: 9.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.7956, allocations: 27.98 kB / 1.186 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.7957, allocations: 23.97 kB / 1.186 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.7957, allocations: 15.98 kB / 1.186 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00031/0.796, allocations: 275.2 kB / 1.187 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7961, allocations: 0 / 1.187 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005684/0.7966, allocations: 187.4 kB / 1.187 GB, free: 9.211 MB / 0.7605 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 () * Number of clocked 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.0002381/0.7969, allocations: 140.5 kB / 1.187 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.7981, allocations: 0.7144 MB / 1.188 GB, free: 8.324 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.7981, allocations: 3.938 kB / 1.188 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.7984, allocations: 188.4 kB / 1.188 GB, free: 8.137 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.799, allocations: 92.41 kB / 1.188 GB, free: 8.051 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.8006, allocations: 1.059 MB / 1.189 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.8012, allocations: 0.855 MB / 1.19 GB, free: 6.078 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002482/0.8014, allocations: 55.7 kB / 1.19 GB, free: 6.023 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.8e-05/0.8015, allocations: 39.42 kB / 1.19 GB, free: 5.984 MB / 0.7605 GB Notification: Performance of SimCode: time 2.5e-07/0.8015, allocations: 4 kB / 1.19 GB, free: 5.98 MB / 0.7605 GB Notification: Performance of Templates: time 0.01081/0.8124, allocations: 5.299 MB / 1.195 GB, free: 0.7539 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)