Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.685/2.685, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 184.8 kB / 360.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 87.67 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.366e-05, allocations: 8 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9217/0.9217, allocations: 115.3 MB / 0.9635 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/1.16, allocations: 138.9 MB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.161, allocations: 80.61 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05174/1.212, allocations: 9.241 MB / 1.108 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.916e-06/1.213, allocations: 1.312 kB / 1.108 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.999e-05/1.213, allocations: 12 kB / 1.108 GB, free: 8.301 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.002666/1.215, allocations: 0.734 MB / 1.109 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/1.215, allocations: 12.03 kB / 1.109 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004224/1.216, allocations: 67.16 kB / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/1.218, allocations: 448.8 kB / 1.109 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/1.218, allocations: 12 kB / 1.109 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/1.218, allocations: 36 kB / 1.109 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001279/1.22, allocations: 266.5 kB / 1.11 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/1.221, allocations: 374.4 kB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/1.221, allocations: 4 kB / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/1.221, allocations: 0 / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/1.221, allocations: 12 kB / 1.11 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005549/1.227, allocations: 1.395 MB / 1.111 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/1.229, allocations: 0.7934 MB / 1.112 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005772/1.229, allocations: 155.2 kB / 1.112 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.677e-05/1.229, allocations: 8 kB / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007488/1.23, allocations: 199 kB / 1.113 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 5.751e-06/1.23, allocations: 0 / 1.113 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.001355/1.231, allocations: 304.9 kB / 1.113 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/1.232, allocations: 114.8 kB / 1.113 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/1.232, allocations: 286.3 kB / 1.113 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/1.233, allocations: 25.7 kB / 1.113 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/1.233, allocations: 272.2 kB / 1.114 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/1.233, allocations: 130 kB / 1.114 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/1.233, allocations: 0 / 1.114 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002534/1.234, allocations: 351.9 kB / 1.114 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/1.234, allocations: 124.9 kB / 1.114 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/1.235, allocations: 208.4 kB / 1.114 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009152/1.236, allocations: 152.6 kB / 1.114 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/1.236, allocations: 4 kB / 1.114 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001997/1.238, allocations: 410.7 kB / 1.115 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004527/1.238, allocations: 0.5599 MB / 1.115 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/1.238, allocations: 4 kB / 1.115 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/1.238, allocations: 0 / 1.115 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/1.24, allocations: 97.95 kB / 1.116 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/1.24, allocations: 7.938 kB / 1.116 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/1.241, allocations: 71.7 kB / 1.116 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.241, allocations: 23.98 kB / 1.116 GB, free: 312 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/1.241, allocations: 5.094 kB / 1.116 GB, free: 308 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001843/1.243, allocations: 342.1 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.243, allocations: 0 / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/1.243, allocations: 8.156 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000865/1.244, allocations: 67.91 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/1.244, allocations: 4 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009932/1.245, allocations: 63.64 kB / 1.116 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.995e-05/1.245, allocations: 24 kB / 1.116 GB, free: 15.8 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.000304/1.245, allocations: 129.1 kB / 1.116 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/1.246, allocations: 39.53 kB / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/1.246, allocations: 40.58 kB / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.246, allocations: 4 kB / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.246, allocations: 0 / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/1.246, allocations: 0 / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/1.249, allocations: 0.879 MB / 1.117 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.249, allocations: 1.812 kB / 1.117 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/1.25, allocations: 79.89 kB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/1.25, allocations: 0 / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.598e-05/1.25, allocations: 4 kB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/1.25, allocations: 1.312 kB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.25, allocations: 4 kB / 1.117 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/1.252, allocations: 0.5632 MB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/1.252, allocations: 112.6 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/1.253, allocations: 8.062 kB / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/1.253, allocations: 15.98 kB / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/1.253, allocations: 27.95 kB / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.732e-05/1.253, allocations: 16 kB / 1.118 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005557/1.254, allocations: 216.6 kB / 1.118 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.22e-07/1.254, allocations: 0 / 1.118 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001491/1.256, allocations: 179.2 kB / 1.118 GB, free: 13.42 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.0003934/1.256, allocations: 131.7 kB / 1.118 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002368/1.258, allocations: 0.634 MB / 1.119 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.258, allocations: 0 / 1.119 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000611/1.259, allocations: 151.9 kB / 1.119 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/1.26, allocations: 61.55 kB / 1.119 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/1.263, allocations: 0.6385 MB / 1.12 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008121/1.264, allocations: 0.8631 MB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008914/1.265, allocations: 64.95 kB / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/1.265, allocations: 35.42 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of SimCode: time 1.623e-06/1.265, allocations: 0 / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.02719/1.292, allocations: 5.187 MB / 1.126 GB, free: 5.703 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)