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.563/2.563, allocations: 284.8 MB / 297.3 MB, free: 6.324 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.001531/0.001531, allocations: 184.2 kB / 365.7 MB, free: 2.551 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.1 MB / 0.6241 GB, free: 8.18 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.001037/0.001036, allocations: 81.31 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.871e-05/4.9e-05, allocations: 8 kB / 0.8575 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8559/0.8559, allocations: 115.2 MB / 0.97 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3092/1.165, allocations: 139.6 MB / 1.106 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/1.166, allocations: 78.86 kB / 1.106 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06523/1.231, allocations: 10.61 MB / 1.117 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.064e-06/1.231, allocations: 0 / 1.117 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.731e-05/1.231, allocations: 12 kB / 1.117 GB, free: 2.211 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.001994/1.233, allocations: 0.8044 MB / 1.118 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.233, allocations: 12.03 kB / 1.118 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/1.233, allocations: 71.16 kB / 1.118 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/1.235, allocations: 460.4 kB / 1.118 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.888e-05/1.235, allocations: 42.31 kB / 1.118 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/1.235, allocations: 67.94 kB / 1.118 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.236, allocations: 463.1 kB / 1.119 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/1.236, allocations: 0 / 1.119 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/1.236, allocations: 19.98 kB / 1.119 GB, free: 188 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/1.236, allocations: 12 kB / 1.119 GB, free: 176 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009258/1.237, allocations: 303.9 kB / 1.119 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0042/1.242, allocations: 1.597 MB / 1.121 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/1.243, allocations: 0.8293 MB / 1.121 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/1.243, allocations: 177.8 kB / 1.122 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.939e-05/1.243, allocations: 8 kB / 1.122 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006258/1.244, allocations: 234.8 kB / 1.122 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 3.647e-06/1.244, allocations: 0 / 1.122 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47): time 0.001139/1.245, allocations: 375.5 kB / 1.122 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.162e-05/1.245, allocations: 108.8 kB / 1.122 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/1.246, allocations: 343.2 kB / 1.123 GB, free: 12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/1.246, allocations: 45.69 kB / 1.123 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/1.247, allocations: 261.1 kB / 1.123 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/1.247, allocations: 157.7 kB / 1.123 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/1.247, allocations: 15.98 kB / 1.123 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002102/1.247, allocations: 358.8 kB / 1.123 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/1.248, allocations: 157.1 kB / 1.123 GB, free: 11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/1.248, allocations: 263.5 kB / 1.124 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006158/1.249, allocations: 241 kB / 1.124 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/1.249, allocations: 0 / 1.124 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001662/1.251, allocations: 0.5768 MB / 1.125 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004069/1.251, allocations: 0.676 MB / 1.125 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.251, allocations: 0 / 1.125 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/1.251, allocations: 4 kB / 1.125 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008014/1.252, allocations: 91.89 kB / 1.125 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/1.252, allocations: 7.984 kB / 1.125 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.253, allocations: 127.5 kB / 1.125 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.523e-05/1.253, allocations: 23.98 kB / 1.125 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.253, allocations: 4 kB / 1.125 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001534/1.255, allocations: 0.5212 MB / 1.126 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.255, allocations: 0 / 1.126 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.255, allocations: 15.92 kB / 1.126 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/1.256, allocations: 75.91 kB / 1.126 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.256, allocations: 3.938 kB / 1.126 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/1.257, allocations: 121.2 kB / 1.126 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/1.257, allocations: 23.98 kB / 1.126 GB, free: 8.113 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.000274/1.257, allocations: 135.7 kB / 1.126 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/1.257, allocations: 47.44 kB / 1.126 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/1.257, allocations: 56.95 kB / 1.126 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/1.257, allocations: 7.953 kB / 1.126 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/1.257, allocations: 4 kB / 1.126 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/1.257, allocations: 0 / 1.126 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/1.26, allocations: 1.029 MB / 1.127 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.26, allocations: 3.953 kB / 1.127 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007532/1.261, allocations: 79.89 kB / 1.127 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/1.261, allocations: 0 / 1.127 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/1.261, allocations: 15.94 kB / 1.128 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.39e-05/1.261, allocations: 6.5 kB / 1.128 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.261, allocations: 0 / 1.128 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/1.262, allocations: 0.6349 MB / 1.128 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/1.263, allocations: 128.5 kB / 1.128 GB, free: 5.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/1.263, allocations: 12 kB / 1.128 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/1.263, allocations: 23.98 kB / 1.128 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/1.263, allocations: 28.39 kB / 1.128 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/1.263, allocations: 21.31 kB / 1.128 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005434/1.264, allocations: 273.2 kB / 1.129 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.11e-07/1.264, allocations: 0 / 1.129 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001067/1.265, allocations: 227.2 kB / 1.129 GB, free: 5.305 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.0003094/1.265, allocations: 132.5 kB / 1.129 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002843/1.268, allocations: 0.9023 MB / 1.13 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.937e-05/1.268, allocations: 0 / 1.13 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/1.269, allocations: 178.4 kB / 1.13 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/1.27, allocations: 87.72 kB / 1.13 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/1.272, allocations: 0.6944 MB / 1.131 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/1.273, allocations: 0.8718 MB / 1.132 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006384/1.274, allocations: 84.88 kB / 1.132 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/1.274, allocations: 38.33 kB / 1.132 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of SimCode: time 1.963e-06/1.274, allocations: 0 / 1.132 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.0228/1.297, allocations: 7.073 MB / 1.139 GB, free: 11.31 MB / 0.7448 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)