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.591/2.591, allocations: 284.8 MB / 297.3 MB, free: 6.336 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.00194/0.00194, allocations: 183.7 kB / 365.7 MB, free: 2.566 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 1.978/1.978, allocations: 205.1 MB / 0.6241 GB, free: 8.168 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.001096/0.001096, allocations: 92.44 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.336e-05/5.361e-05, allocations: 8 kB / 0.8575 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8501/0.8502, allocations: 115.3 MB / 0.97 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2897/1.14, allocations: 139.6 MB / 1.106 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/1.14, allocations: 73.22 kB / 1.106 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06682/1.207, allocations: 9.311 MB / 1.115 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/1.207, allocations: 0 / 1.115 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.02e-05/1.207, allocations: 8 kB / 1.115 GB, free: 3.531 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.001756/1.209, allocations: 0.755 MB / 1.116 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/1.209, allocations: 8.031 kB / 1.116 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/1.209, allocations: 71.16 kB / 1.116 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/1.211, allocations: 440.3 kB / 1.117 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/1.211, allocations: 41 kB / 1.117 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/1.211, allocations: 51.98 kB / 1.117 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/1.212, allocations: 439.1 kB / 1.117 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/1.212, allocations: 3.984 kB / 1.117 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.025e-05/1.212, allocations: 25.94 kB / 1.117 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/1.212, allocations: 12 kB / 1.117 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008192/1.213, allocations: 287.9 kB / 1.118 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/1.217, allocations: 1.493 MB / 1.119 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/1.218, allocations: 0.8045 MB / 1.12 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/1.218, allocations: 173.4 kB / 1.12 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.874e-05/1.218, allocations: 15.73 kB / 1.12 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005681/1.219, allocations: 203.3 kB / 1.12 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 3.727e-06/1.219, allocations: 0 / 1.12 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.001007/1.22, allocations: 336.9 kB / 1.12 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.228e-05/1.22, allocations: 114.8 kB / 1.121 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006554/1.221, allocations: 343.2 kB / 1.121 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-05/1.221, allocations: 33.7 kB / 1.121 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/1.221, allocations: 260.5 kB / 1.121 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/1.221, allocations: 141.9 kB / 1.121 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/1.221, allocations: 8 kB / 1.121 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.222, allocations: 358.8 kB / 1.122 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/1.222, allocations: 132.9 kB / 1.122 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/1.223, allocations: 217.3 kB / 1.122 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/1.223, allocations: 183.2 kB / 1.122 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.223, allocations: 0 / 1.122 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001276/1.224, allocations: 472.3 kB / 1.123 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003109/1.225, allocations: 0.5639 MB / 1.123 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/1.225, allocations: 0 / 1.123 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/1.225, allocations: 4 kB / 1.123 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007102/1.226, allocations: 79.89 kB / 1.123 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.226, allocations: 11.94 kB / 1.123 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/1.226, allocations: 91.64 kB / 1.123 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/1.226, allocations: 23.92 kB / 1.123 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.226, allocations: 4 kB / 1.123 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001157/1.228, allocations: 407.7 kB / 1.124 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.228, allocations: 0 / 1.124 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/1.228, allocations: 4 kB / 1.124 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/1.228, allocations: 75.16 kB / 1.124 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/1.228, allocations: 0 / 1.124 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/1.229, allocations: 87.75 kB / 1.124 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/1.229, allocations: 15.98 kB / 1.124 GB, free: 10.4 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.0002055/1.229, allocations: 132.9 kB / 1.124 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/1.229, allocations: 51.34 kB / 1.124 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/1.229, allocations: 52.66 kB / 1.124 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/1.23, allocations: 7.984 kB / 1.124 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.23, allocations: 0 / 1.124 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.23, allocations: 0 / 1.124 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/1.232, allocations: 0.9758 MB / 1.125 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.232, allocations: 0 / 1.125 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007179/1.232, allocations: 79.89 kB / 1.125 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/1.232, allocations: 0 / 1.125 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/1.233, allocations: 15.95 kB / 1.125 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/1.233, allocations: 4 kB / 1.125 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.233, allocations: 0 / 1.125 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/1.234, allocations: 0.5885 MB / 1.126 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/1.234, allocations: 128.5 kB / 1.126 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.533e-05/1.234, allocations: 8 kB / 1.126 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/1.235, allocations: 31.94 kB / 1.126 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/1.235, allocations: 23.95 kB / 1.126 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/1.235, allocations: 12 kB / 1.126 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005281/1.235, allocations: 277.2 kB / 1.126 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.21e-07/1.235, allocations: 0 / 1.126 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008935/1.236, allocations: 199.2 kB / 1.126 GB, free: 7.738 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.0003005/1.237, allocations: 133.6 kB / 1.127 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001745/1.238, allocations: 0.6699 MB / 1.127 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.238, allocations: 0 / 1.127 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004324/1.239, allocations: 156.5 kB / 1.127 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008549/1.24, allocations: 87.38 kB / 1.127 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/1.241, allocations: 0.6641 MB / 1.128 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/1.242, allocations: 0.8597 MB / 1.129 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008173/1.243, allocations: 80.5 kB / 1.129 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/1.243, allocations: 35.42 kB / 1.129 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of SimCode: time 1.482e-06/1.243, allocations: 0 / 1.129 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.03503/1.278, allocations: 5.875 MB / 1.135 GB, free: 15.23 MB / 0.7448 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)