Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.613/2.613, allocations: 287.5 MB / 303.2 MB, free: 8.27 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.001434/0.001434, allocations: 174 kB / 371.8 MB, free: 10.82 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.043/2.043, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009334/0.0009333, allocations: 88.41 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004971, allocations: 9.406 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2132, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.973/1.186, allocations: 146.4 MB / 1.122 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.187, allocations: 82.31 kB / 1.122 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08357/1.27, allocations: 19.95 MB / 1.142 GB, free: 26.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.206e-06/1.27, allocations: 4 kB / 1.142 GB, free: 26.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001304/1.27, allocations: 23.22 kB / 1.142 GB, free: 26.22 MB / 0.698 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.0039/1.274, allocations: 1.239 MB / 1.143 GB, free: 25.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/1.274, allocations: 11.53 kB / 1.143 GB, free: 25.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008139/1.275, allocations: 129.2 kB / 1.143 GB, free: 25.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/1.279, allocations: 0.7719 MB / 1.144 GB, free: 24.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/1.279, allocations: 82.89 kB / 1.144 GB, free: 24.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/1.279, allocations: 78.62 kB / 1.144 GB, free: 24.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003354/1.283, allocations: 0.7876 MB / 1.145 GB, free: 24.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/1.283, allocations: 0 / 1.145 GB, free: 24.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/1.283, allocations: 26.81 kB / 1.145 GB, free: 24.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/1.283, allocations: 15.5 kB / 1.145 GB, free: 24.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/1.286, allocations: 0.563 MB / 1.145 GB, free: 24.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006974/1.293, allocations: 2.36 MB / 1.148 GB, free: 23.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/1.296, allocations: 0.6936 MB / 1.148 GB, free: 22.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000836/1.297, allocations: 263 kB / 1.149 GB, free: 22.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-05/1.297, allocations: 4.406 kB / 1.149 GB, free: 22.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/1.298, allocations: 361.8 kB / 1.149 GB, free: 22.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.486e-06/1.298, allocations: 0 / 1.149 GB, free: 22.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002844/1.301, allocations: 0.8165 MB / 1.15 GB, free: 22.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.301, allocations: 144.7 kB / 1.15 GB, free: 22.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.302, allocations: 0.7628 MB / 1.151 GB, free: 22.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/1.302, allocations: 36.39 kB / 1.151 GB, free: 22.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/1.303, allocations: 444.4 kB / 1.151 GB, free: 21.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/1.303, allocations: 200.5 kB / 1.151 GB, free: 21.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/1.303, allocations: 13.84 kB / 1.151 GB, free: 21.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.303, allocations: 324.9 kB / 1.152 GB, free: 21.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008356/1.304, allocations: 229.8 kB / 1.152 GB, free: 21.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008794/1.305, allocations: 340.1 kB / 1.152 GB, free: 21.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/1.307, allocations: 0.5508 MB / 1.153 GB, free: 21.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.307, allocations: 0 / 1.153 GB, free: 21.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002175/1.309, allocations: 0.69 MB / 1.153 GB, free: 21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-05/1.309, allocations: 161.1 kB / 1.154 GB, free: 20.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.309, allocations: 4 kB / 1.154 GB, free: 20.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/1.309, allocations: 11.62 kB / 1.154 GB, free: 20.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/1.311, allocations: 158.5 kB / 1.154 GB, free: 20.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.311, allocations: 3.844 kB / 1.154 GB, free: 20.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.312, allocations: 88.78 kB / 1.154 GB, free: 20.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/1.312, allocations: 25.58 kB / 1.154 GB, free: 20.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/1.312, allocations: 5.656 kB / 1.154 GB, free: 20.74 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001688/1.314, allocations: 0.5573 MB / 1.154 GB, free: 20.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.314, allocations: 0 / 1.154 GB, free: 20.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/1.314, allocations: 7.688 kB / 1.154 GB, free: 20.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.315, allocations: 159 kB / 1.155 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.315, allocations: 3.969 kB / 1.155 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009867/1.316, allocations: 76.31 kB / 1.155 GB, free: 20.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/1.316, allocations: 22.16 kB / 1.155 GB, free: 20.59 MB / 0.698 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.0007244/1.317, allocations: 308.6 kB / 1.155 GB, free: 20.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/1.317, allocations: 93.22 kB / 1.155 GB, free: 20.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/1.318, allocations: 101.3 kB / 1.155 GB, free: 20.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.318, allocations: 3.906 kB / 1.155 GB, free: 20.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.318, allocations: 3.812 kB / 1.155 GB, free: 20.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/1.318, allocations: 3.984 kB / 1.155 GB, free: 20.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003908/1.322, allocations: 1.534 MB / 1.157 GB, free: 19.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.322, allocations: 0 / 1.157 GB, free: 19.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/1.323, allocations: 115.6 kB / 1.157 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/1.323, allocations: 144 / 1.157 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/1.323, allocations: 19.33 kB / 1.157 GB, free: 19.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.323, allocations: 11.91 kB / 1.157 GB, free: 19.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.323, allocations: 7.969 kB / 1.157 GB, free: 19.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/1.326, allocations: 1.033 MB / 1.158 GB, free: 19.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/1.327, allocations: 236 kB / 1.158 GB, free: 18.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/1.327, allocations: 16.56 kB / 1.158 GB, free: 18.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/1.328, allocations: 54.33 kB / 1.158 GB, free: 18.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.328, allocations: 31.89 kB / 1.158 GB, free: 18.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/1.328, allocations: 22.11 kB / 1.158 GB, free: 18.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001014/1.329, allocations: 0.5192 MB / 1.159 GB, free: 18.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.329, allocations: 0 / 1.159 GB, free: 18.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001262/1.33, allocations: 281.4 kB / 1.159 GB, free: 18.16 MB / 0.698 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.0002601/1.331, allocations: 129.4 kB / 1.159 GB, free: 18.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002864/1.334, allocations: 0.8661 MB / 1.16 GB, free: 17.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.334, allocations: 0.625 kB / 1.16 GB, free: 17.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009385/1.335, allocations: 295.8 kB / 1.16 GB, free: 17.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/1.337, allocations: 223.2 kB / 1.16 GB, free: 17.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/1.341, allocations: 1.837 MB / 1.162 GB, free: 15.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/1.342, allocations: 0.994 MB / 1.163 GB, free: 14.31 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001095/1.343, allocations: 118.6 kB / 1.163 GB, free: 14.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/1.343, allocations: 59.42 kB / 1.163 GB, free: 14.13 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/1.343, allocations: 3.938 kB / 1.163 GB, free: 14.12 MB / 0.698 GB Notification: Performance of Templates: time 0.02888/1.372, allocations: 9.149 MB / 1.172 GB, free: 5.102 MB / 0.698 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)