Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.893/1.893, allocations: 292.6 MB / 307.6 MB, free: 5.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001657, allocations: 175.5 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.4 MB / 0.6367 GB, free: 8.574 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009124/0.0009121, allocations: 96.53 kB / 0.751 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004625, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3206, allocations: 116.3 MB / 0.9883 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7736/1.094, allocations: 147.5 MB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/1.095, allocations: 77.98 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05595/1.151, allocations: 19.91 MB / 1.152 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.274e-06/1.151, allocations: 192 / 1.152 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001435/1.151, allocations: 27.94 kB / 1.152 GB, free: 15.26 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.003097/1.154, allocations: 1.245 MB / 1.153 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.154, allocations: 12.02 kB / 1.153 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/1.155, allocations: 126.5 kB / 1.153 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/1.156, allocations: 0.738 MB / 1.154 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/1.156, allocations: 83.69 kB / 1.154 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/1.157, allocations: 71.91 kB / 1.154 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/1.158, allocations: 0.7821 MB / 1.155 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/1.158, allocations: 0 / 1.155 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.802e-05/1.158, allocations: 28 kB / 1.155 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/1.158, allocations: 16.66 kB / 1.155 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/1.159, allocations: 0.5644 MB / 1.156 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003659/1.163, allocations: 2.355 MB / 1.158 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/1.165, allocations: 0.7019 MB / 1.158 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-05/1.165, allocations: 16.53 kB / 1.159 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006827/1.165, allocations: 343.2 kB / 1.159 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 3.236e-06/1.165, allocations: 0 / 1.159 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.001719/1.167, allocations: 0.8385 MB / 1.16 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/1.167, allocations: 137.1 kB / 1.16 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008633/1.168, allocations: 0.6575 MB / 1.16 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/1.168, allocations: 37.7 kB / 1.16 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/1.168, allocations: 440.5 kB / 1.161 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/1.169, allocations: 205 kB / 1.161 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/1.169, allocations: 12 kB / 1.161 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/1.169, allocations: 330 kB / 1.161 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/1.169, allocations: 225.9 kB / 1.162 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/1.17, allocations: 347.8 kB / 1.162 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/1.17, allocations: 254.1 kB / 1.162 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.17, allocations: 0 / 1.162 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001216/1.171, allocations: 0.6968 MB / 1.163 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/1.172, allocations: 0.8754 MB / 1.164 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.172, allocations: 9.875 kB / 1.164 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/1.172, allocations: 8.734 kB / 1.164 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008353/1.173, allocations: 155.8 kB / 1.164 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/1.173, allocations: 8 kB / 1.164 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/1.173, allocations: 91.3 kB / 1.164 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/1.173, allocations: 23.98 kB / 1.164 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/1.173, allocations: 4 kB / 1.164 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009741/1.174, allocations: 0.5605 MB / 1.165 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.174, allocations: 0 / 1.165 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/1.174, allocations: 4.844 kB / 1.165 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/1.175, allocations: 156 kB / 1.165 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.175, allocations: 8 kB / 1.165 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005704/1.176, allocations: 71.41 kB / 1.165 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/1.176, allocations: 20 kB / 1.165 GB, free: 1.645 MB / 0.7292 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 () * Number of clocked 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.0005117/1.176, allocations: 305 kB / 1.165 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/1.176, allocations: 94.97 kB / 1.165 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/1.177, allocations: 105.3 kB / 1.165 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/1.177, allocations: 11.94 kB / 1.165 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.177, allocations: 2.562 kB / 1.165 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.177, allocations: 3.984 kB / 1.165 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/1.179, allocations: 1.528 MB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.179, allocations: 0 / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/1.18, allocations: 111.8 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/1.18, allocations: 0 / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/1.18, allocations: 16.64 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/1.18, allocations: 8 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.18, allocations: 0 / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/1.182, allocations: 1.037 MB / 1.168 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004509/1.182, allocations: 235.7 kB / 1.168 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.183, allocations: 12 kB / 1.168 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/1.183, allocations: 51.95 kB / 1.168 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.183, allocations: 41.27 kB / 1.168 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/1.183, allocations: 21.73 kB / 1.168 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009672/1.184, allocations: 0.5148 MB / 1.169 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.21e-07/1.184, allocations: 7.938 kB / 1.169 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001069/1.185, allocations: 279.1 kB / 1.169 GB, free: 13.17 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 () * Number of clocked 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.0002808/1.186, allocations: 129 kB / 1.169 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002155/1.188, allocations: 0.8622 MB / 1.17 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.188, allocations: 0.625 kB / 1.17 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006055/1.188, allocations: 299.1 kB / 1.17 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.19, allocations: 226.6 kB / 1.171 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/1.194, allocations: 1.837 MB / 1.172 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008135/1.195, allocations: 1.017 MB / 1.173 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008182/1.196, allocations: 122.5 kB / 1.173 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/1.196, allocations: 56.47 kB / 1.174 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/1.196, allocations: 0 / 1.174 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of Templates: time 0.02172/1.218, allocations: 9.113 MB / 1.182 GB, free: 15.65 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)