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.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.768/2.768, allocations: 285 MB / 292.5 MB, free: 10.53 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.001489/0.001489, allocations: 180.9 kB / 360.7 MB, free: 7.238 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.121/2.121, allocations: 205.3 MB / 0.6192 GB, free: 12.17 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.00109/0.001089, allocations: 92.62 kB / 0.7322 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.151e-05, allocations: 8 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8881/0.8882, allocations: 115.3 MB / 0.9635 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2514/1.14, allocations: 138.9 MB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/1.14, allocations: 77.69 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04743/1.187, allocations: 10.53 MB / 1.11 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.033e-06/1.187, allocations: 4 kB / 1.11 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.353e-05/1.187, allocations: 12 kB / 1.11 GB, free: 7.004 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001796/1.189, allocations: 0.8041 MB / 1.11 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.189, allocations: 12.03 kB / 1.11 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/1.19, allocations: 71.16 kB / 1.11 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/1.191, allocations: 468.5 kB / 1.111 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/1.191, allocations: 16 kB / 1.111 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/1.191, allocations: 40 kB / 1.111 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008183/1.192, allocations: 274.6 kB / 1.111 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/1.193, allocations: 397.2 kB / 1.112 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.193, allocations: 3.938 kB / 1.112 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/1.193, allocations: 0 / 1.112 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/1.193, allocations: 16 kB / 1.112 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/1.197, allocations: 1.488 MB / 1.113 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/1.198, allocations: 0.8092 MB / 1.114 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/1.198, allocations: 177.8 kB / 1.114 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.114e-05/1.198, allocations: 11.73 kB / 1.114 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005452/1.199, allocations: 216 kB / 1.114 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.367e-06/1.199, allocations: 4 kB / 1.114 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.001004/1.2, allocations: 335.6 kB / 1.115 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/1.2, allocations: 111.2 kB / 1.115 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/1.201, allocations: 298.3 kB / 1.115 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.021e-05/1.201, allocations: 29.7 kB / 1.115 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/1.201, allocations: 274.1 kB / 1.115 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/1.201, allocations: 145.8 kB / 1.115 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/1.201, allocations: 4 kB / 1.115 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.201, allocations: 354.8 kB / 1.116 GB, free: 364 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/1.202, allocations: 153 kB / 1.116 GB, free: 212 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/1.203, allocations: 242.4 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000826/1.203, allocations: 186.2 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.203, allocations: 0 / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001702/1.205, allocations: 499.3 kB / 1.117 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004088/1.206, allocations: 0.6838 MB / 1.117 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.206, allocations: 0 / 1.117 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.206, allocations: 7.938 kB / 1.117 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/1.206, allocations: 87.98 kB / 1.117 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.206, allocations: 7.984 kB / 1.117 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/1.207, allocations: 116.9 kB / 1.118 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/1.208, allocations: 31.97 kB / 1.118 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.208, allocations: 4 kB / 1.118 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001603/1.209, allocations: 428.8 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.209, allocations: 7.984 kB / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.209, allocations: 7.938 kB / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/1.21, allocations: 76.02 kB / 1.118 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/1.21, allocations: 11.94 kB / 1.118 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000925/1.211, allocations: 95.69 kB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/1.211, allocations: 23.98 kB / 1.118 GB, free: 13.64 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 () * 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.0002617/1.211, allocations: 126.2 kB / 1.118 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/1.211, allocations: 43.47 kB / 1.118 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/1.211, allocations: 48.69 kB / 1.118 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.211, allocations: 8 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/1.211, allocations: 3.375 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/1.212, allocations: 7.938 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/1.214, allocations: 0.9163 MB / 1.119 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.214, allocations: 0 / 1.119 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/1.214, allocations: 83.89 kB / 1.119 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/1.214, allocations: 0 / 1.119 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/1.214, allocations: 7.953 kB / 1.119 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/1.214, allocations: 0 / 1.119 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.214, allocations: 4.625 kB / 1.119 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/1.216, allocations: 0.592 MB / 1.12 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/1.216, allocations: 128.5 kB / 1.12 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-05/1.216, allocations: 8 kB / 1.12 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/1.217, allocations: 22.5 kB / 1.12 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/1.217, allocations: 32.33 kB / 1.12 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/1.217, allocations: 16 kB / 1.12 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003724/1.217, allocations: 224.6 kB / 1.12 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.11e-07/1.217, allocations: 0 / 1.12 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001042/1.218, allocations: 199.2 kB / 1.121 GB, free: 11.11 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 () * 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.0002829/1.218, allocations: 131.1 kB / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001928/1.22, allocations: 0.8483 MB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.22, allocations: 0 / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004172/1.221, allocations: 169.5 kB / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008571/1.222, allocations: 75.78 kB / 1.122 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/1.224, allocations: 0.6703 MB / 1.122 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009111/1.225, allocations: 0.8719 MB / 1.123 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009614/1.226, allocations: 77.53 kB / 1.123 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/1.226, allocations: 35.44 kB / 1.123 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of SimCode: time 1.763e-06/1.226, allocations: 0 / 1.123 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of Templates: time 0.03149/1.258, allocations: 6.342 MB / 1.13 GB, free: 1.934 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)