Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.93/1.93, allocations: 288.3 MB / 303.2 MB, free: 8.031 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.001328/0.001328, allocations: 177.1 kB / 371.8 MB, free: 10.29 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.273/2.273, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.001361/0.001361, allocations: 97.08 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006191/0.0006191, allocations: 10.94 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3115, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9034/1.215, allocations: 146.5 MB / 1.123 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/1.215, allocations: 82.39 kB / 1.123 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04826/1.263, allocations: 19.89 MB / 1.142 GB, free: 26.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/1.263, allocations: 0 / 1.142 GB, free: 26.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.623e-05/1.264, allocations: 23.16 kB / 1.142 GB, free: 26.09 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.002112/1.266, allocations: 1.253 MB / 1.143 GB, free: 25.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.266, allocations: 15.52 kB / 1.143 GB, free: 25.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/1.266, allocations: 124.6 kB / 1.143 GB, free: 25.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/1.267, allocations: 0.7314 MB / 1.144 GB, free: 24.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/1.267, allocations: 85.61 kB / 1.144 GB, free: 24.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/1.267, allocations: 78.64 kB / 1.144 GB, free: 24.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.269, allocations: 0.7697 MB / 1.145 GB, free: 24.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/1.269, allocations: 7.984 kB / 1.145 GB, free: 24.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/1.269, allocations: 31.73 kB / 1.145 GB, free: 24.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/1.269, allocations: 19.22 kB / 1.145 GB, free: 24.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/1.27, allocations: 0.5647 MB / 1.146 GB, free: 24.26 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/1.273, allocations: 2.35 MB / 1.148 GB, free: 22.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/1.275, allocations: 0.7004 MB / 1.149 GB, free: 22.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/1.275, allocations: 12.12 kB / 1.149 GB, free: 22.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006589/1.275, allocations: 356.7 kB / 1.149 GB, free: 22.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 4.037e-06/1.275, allocations: 3.984 kB / 1.149 GB, free: 22.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001531/1.277, allocations: 0.8244 MB / 1.15 GB, free: 22.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/1.277, allocations: 141 kB / 1.15 GB, free: 22.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006971/1.278, allocations: 0.6572 MB / 1.151 GB, free: 22.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/1.278, allocations: 39.8 kB / 1.151 GB, free: 22.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/1.278, allocations: 440.3 kB / 1.151 GB, free: 21.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/1.278, allocations: 199.8 kB / 1.151 GB, free: 21.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/1.278, allocations: 17.84 kB / 1.151 GB, free: 21.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.278, allocations: 327.7 kB / 1.152 GB, free: 21.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/1.279, allocations: 229 kB / 1.152 GB, free: 21.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/1.279, allocations: 337.2 kB / 1.152 GB, free: 21.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/1.28, allocations: 259.1 kB / 1.152 GB, free: 21.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.28, allocations: 0 / 1.152 GB, free: 21.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001131/1.281, allocations: 0.6917 MB / 1.153 GB, free: 21.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000544/1.281, allocations: 0.878 MB / 1.154 GB, free: 20.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.281, allocations: 3.812 kB / 1.154 GB, free: 20.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/1.281, allocations: 7.875 kB / 1.154 GB, free: 20.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/1.282, allocations: 166.8 kB / 1.154 GB, free: 20.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/1.282, allocations: 7.812 kB / 1.154 GB, free: 20.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000587/1.283, allocations: 92.36 kB / 1.154 GB, free: 20.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/1.283, allocations: 25.42 kB / 1.154 GB, free: 20.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/1.283, allocations: 3.969 kB / 1.154 GB, free: 20.07 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/1.284, allocations: 0.5536 MB / 1.155 GB, free: 20 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.284, allocations: 3.938 kB / 1.155 GB, free: 20 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/1.284, allocations: 3.75 kB / 1.155 GB, free: 20 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007395/1.285, allocations: 156.8 kB / 1.155 GB, free: 19.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.285, allocations: 7.781 kB / 1.155 GB, free: 19.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/1.285, allocations: 76.09 kB / 1.155 GB, free: 19.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/1.285, allocations: 18.22 kB / 1.155 GB, free: 19.92 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.0005426/1.286, allocations: 300.6 kB / 1.155 GB, free: 19.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/1.286, allocations: 97.14 kB / 1.155 GB, free: 19.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/1.286, allocations: 105.6 kB / 1.155 GB, free: 19.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.286, allocations: 7.5 kB / 1.155 GB, free: 19.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.286, allocations: 0 / 1.155 GB, free: 19.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.286, allocations: 3.984 kB / 1.155 GB, free: 19.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/1.289, allocations: 1.534 MB / 1.157 GB, free: 18.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.289, allocations: 0 / 1.157 GB, free: 18.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005534/1.289, allocations: 107.7 kB / 1.157 GB, free: 18.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.289, allocations: 4 kB / 1.157 GB, free: 18.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/1.289, allocations: 10.69 kB / 1.157 GB, free: 18.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/1.289, allocations: 7.984 kB / 1.157 GB, free: 18.67 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.289, allocations: 4 kB / 1.157 GB, free: 18.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/1.291, allocations: 1.043 MB / 1.158 GB, free: 17.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/1.292, allocations: 234.2 kB / 1.158 GB, free: 17.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.292, allocations: 14 kB / 1.158 GB, free: 17.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/1.292, allocations: 46.14 kB / 1.158 GB, free: 17.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.289e-05/1.292, allocations: 42.31 kB / 1.158 GB, free: 17.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/1.292, allocations: 18.86 kB / 1.158 GB, free: 17.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006691/1.293, allocations: 0.5201 MB / 1.159 GB, free: 17.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/1.293, allocations: 0 / 1.159 GB, free: 17.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008976/1.294, allocations: 288.9 kB / 1.159 GB, free: 16.95 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.0002368/1.294, allocations: 119.6 kB / 1.159 GB, free: 16.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001797/1.296, allocations: 0.8694 MB / 1.16 GB, free: 16.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.296, allocations: 4 kB / 1.16 GB, free: 16.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005517/1.297, allocations: 298.5 kB / 1.16 GB, free: 16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/1.298, allocations: 243.3 kB / 1.161 GB, free: 15.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/1.3, allocations: 1.832 MB / 1.162 GB, free: 14.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/1.301, allocations: 1.013 MB / 1.163 GB, free: 13.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005468/1.302, allocations: 118.4 kB / 1.164 GB, free: 12.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/1.302, allocations: 55.44 kB / 1.164 GB, free: 12.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.353e-06/1.302, allocations: 0 / 1.164 GB, free: 12.88 MB / 0.698 GB Notification: Performance of Templates: time 0.01731/1.319, allocations: 9.116 MB / 1.173 GB, free: 3.891 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)