Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.478/2.478, 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.001445/0.001445, allocations: 184.6 kB / 365.7 MB, free: 2.586 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.108/2.108, allocations: 205.1 MB / 0.6241 GB, free: 8.184 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.001036/0.001035, allocations: 86.94 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.214e-05, allocations: 0 / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8162/0.8163, allocations: 115.2 MB / 0.97 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/1.114, allocations: 146.3 MB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/1.114, allocations: 80.7 kB / 1.113 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.09229/1.207, allocations: 19.87 MB / 1.132 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.054e-06/1.207, allocations: 8 kB / 1.132 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001302/1.207, allocations: 31.22 kB / 1.132 GB, free: 2.246 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003248/1.21, allocations: 1.074 MB / 1.133 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.21, allocations: 8.031 kB / 1.133 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005579/1.211, allocations: 126.5 kB / 1.134 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/1.213, allocations: 0.7308 MB / 1.134 GB, free: 220 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/1.214, allocations: 83.64 kB / 1.134 GB, free: 132 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/1.214, allocations: 71.91 kB / 1.134 GB, free: 60 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/1.216, allocations: 0.7199 MB / 1.135 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/1.216, allocations: 3.953 kB / 1.135 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/1.216, allocations: 32 kB / 1.135 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/1.216, allocations: 16 kB / 1.135 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/1.218, allocations: 489.1 kB / 1.136 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007049/1.225, allocations: 2.361 MB / 1.138 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/1.227, allocations: 0.5868 MB / 1.138 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007316/1.228, allocations: 222.5 kB / 1.139 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/1.228, allocations: 12.73 kB / 1.139 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009263/1.229, allocations: 307 kB / 1.139 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 4.648e-06/1.229, allocations: 0 / 1.139 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.001705/1.231, allocations: 0.5217 MB / 1.139 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.231, allocations: 137.1 kB / 1.14 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/1.232, allocations: 0.6499 MB / 1.14 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001952/1.232, allocations: 37.7 kB / 1.14 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005659/1.233, allocations: 444.5 kB / 1.141 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000328/1.233, allocations: 201 kB / 1.141 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/1.233, allocations: 16 kB / 1.141 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.234, allocations: 326 kB / 1.141 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005941/1.234, allocations: 177.6 kB / 1.141 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007148/1.235, allocations: 307.4 kB / 1.142 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/1.236, allocations: 215.2 kB / 1.142 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.236, allocations: 0 / 1.142 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001841/1.238, allocations: 0.6032 MB / 1.142 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005104/1.238, allocations: 0.8793 MB / 1.143 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.238, allocations: 3.562 kB / 1.143 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/1.238, allocations: 4 kB / 1.143 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/1.24, allocations: 163.8 kB / 1.144 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-05/1.24, allocations: 15.88 kB / 1.144 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.241, allocations: 93.03 kB / 1.144 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/1.241, allocations: 16 kB / 1.144 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.241, allocations: 4 kB / 1.144 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/1.243, allocations: 0.5012 MB / 1.144 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/1.243, allocations: 4 kB / 1.144 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.243, allocations: 4 kB / 1.144 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/1.245, allocations: 156 kB / 1.144 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/1.245, allocations: 7.938 kB / 1.144 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.246, allocations: 79.34 kB / 1.144 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.479e-05/1.246, allocations: 16 kB / 1.144 GB, free: 5.473 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0003038/1.246, allocations: 148.8 kB / 1.145 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/1.246, allocations: 94.86 kB / 1.145 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/1.247, allocations: 101.3 kB / 1.145 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/1.247, allocations: 8 kB / 1.145 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.247, allocations: 0 / 1.145 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/1.247, allocations: 3.984 kB / 1.145 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/1.25, allocations: 1.443 MB / 1.146 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.25, allocations: 3 kB / 1.146 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/1.252, allocations: 115.8 kB / 1.146 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/1.252, allocations: 4 kB / 1.146 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/1.252, allocations: 15.98 kB / 1.146 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.252, allocations: 0 / 1.146 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.252, allocations: 0 / 1.146 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/1.254, allocations: 0.9201 MB / 1.147 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006916/1.255, allocations: 231.7 kB / 1.147 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/1.255, allocations: 15.98 kB / 1.147 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.256, allocations: 51.97 kB / 1.147 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/1.257, allocations: 36.5 kB / 1.147 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.472e-05/1.257, allocations: 19.98 kB / 1.148 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001168/1.258, allocations: 0.5072 MB / 1.148 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.21e-07/1.258, allocations: 4 kB / 1.148 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001373/1.259, allocations: 284.8 kB / 1.148 GB, free: 1.367 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.000303/1.26, allocations: 126.2 kB / 1.148 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002354/1.262, allocations: 0.7817 MB / 1.149 GB, free: 460 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.262, allocations: 7.938 kB / 1.149 GB, free: 452 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007355/1.263, allocations: 251.2 kB / 1.149 GB, free: 204 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/1.265, allocations: 238.5 kB / 1.15 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/1.269, allocations: 1.172 MB / 1.151 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/1.27, allocations: 1.019 MB / 1.152 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001563/1.272, allocations: 169.2 kB / 1.152 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/1.272, allocations: 51.42 kB / 1.152 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of SimCode: time 1.112e-06/1.272, allocations: 0 / 1.152 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of Templates: time 0.03538/1.308, allocations: 10.79 MB / 1.163 GB, free: 2.914 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)