Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.437/2.437, allocations: 253.2 MB / 260.6 MB, free: 7.414 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 189.3 kB / 319.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.216/2.216, allocations: 205.6 MB / 0.5708 GB, free: 15.2 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001082, allocations: 97.44 kB / 0.6751 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.486e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.277, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.333, allocations: 134.6 MB / 1.02 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/1.333, allocations: 79 kB / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09618/1.43, allocations: 21.7 MB / 1.041 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.903e-06/1.43, allocations: 0 / 1.041 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001184/1.43, allocations: 32 kB / 1.041 GB, free: 0.5938 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.003744/1.433, allocations: 1.306 MB / 1.043 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/1.434, allocations: 12.02 kB / 1.043 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004637/1.434, allocations: 154.1 kB / 1.043 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/1.436, allocations: 0.785 MB / 1.044 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/1.436, allocations: 32 kB / 1.044 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/1.437, allocations: 67.25 kB / 1.044 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001952/1.438, allocations: 0.632 MB / 1.044 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/1.441, allocations: 0.8535 MB / 1.045 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/1.441, allocations: 0 / 1.045 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.441, allocations: 4 kB / 1.045 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/1.441, allocations: 24 kB / 1.045 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008415/1.449, allocations: 3.733 MB / 1.049 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/1.452, allocations: 0.8343 MB / 1.05 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/1.453, allocations: 354.1 kB / 1.05 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.93e-05/1.453, allocations: 12.78 kB / 1.05 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008965/1.454, allocations: 342.5 kB / 1.05 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 4.308e-06/1.454, allocations: 0 / 1.05 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.001789/1.456, allocations: 0.6105 MB / 1.051 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/1.456, allocations: 222.3 kB / 1.051 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/1.457, allocations: 0.6172 MB / 1.052 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/1.457, allocations: 25.7 kB / 1.052 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/1.458, allocations: 0.5345 MB / 1.052 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000342/1.458, allocations: 287.4 kB / 1.053 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/1.458, allocations: 0 / 1.053 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.458, allocations: 344.2 kB / 1.053 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/1.459, allocations: 232.1 kB / 1.053 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008132/1.46, allocations: 396.3 kB / 1.053 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/1.461, allocations: 275.1 kB / 1.054 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.461, allocations: 0 / 1.054 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002036/1.463, allocations: 0.7276 MB / 1.054 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002545/1.463, allocations: 458 kB / 1.055 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.463, allocations: 4 kB / 1.055 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/1.463, allocations: 4 kB / 1.055 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/1.465, allocations: 214.8 kB / 1.055 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/1.465, allocations: 8 kB / 1.055 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/1.466, allocations: 127.3 kB / 1.055 GB, free: 5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/1.466, allocations: 34.61 kB / 1.055 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.466, allocations: 4 kB / 1.055 GB, free: 4.969 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001508/1.468, allocations: 0.5606 MB / 1.056 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.468, allocations: 4 kB / 1.056 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.468, allocations: 4 kB / 1.056 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.469, allocations: 174.7 kB / 1.056 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/1.469, allocations: 7.938 kB / 1.056 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009581/1.47, allocations: 87.33 kB / 1.056 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/1.47, allocations: 34.06 kB / 1.056 GB, free: 4.293 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0002695/1.47, allocations: 119.9 kB / 1.056 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/1.471, allocations: 98.69 kB / 1.056 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/1.471, allocations: 102.3 kB / 1.056 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/1.471, allocations: 8 kB / 1.056 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.471, allocations: 7.953 kB / 1.056 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/1.471, allocations: 3.984 kB / 1.056 GB, free: 4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/1.473, allocations: 0.8504 MB / 1.057 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/1.473, allocations: 0 / 1.057 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.474, allocations: 194.6 kB / 1.057 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/1.474, allocations: 4 kB / 1.057 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/1.474, allocations: 0 / 1.057 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/1.474, allocations: 4 kB / 1.057 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.474, allocations: 4 kB / 1.057 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/1.477, allocations: 0.9979 MB / 1.058 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/1.477, allocations: 182.6 kB / 1.059 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/1.477, allocations: 0 / 1.059 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009003/1.478, allocations: 71.92 kB / 1.059 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/1.478, allocations: 56.33 kB / 1.059 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/1.478, allocations: 22.25 kB / 1.059 GB, free: 2.145 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009201/1.479, allocations: 477.5 kB / 1.059 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.1e-07/1.479, allocations: 0 / 1.059 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001293/1.481, allocations: 350.2 kB / 1.06 GB, free: 1.469 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002704/1.481, allocations: 126.9 kB / 1.06 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002427/1.483, allocations: 0.9627 MB / 1.061 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.483, allocations: 0.5 kB / 1.061 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007452/1.484, allocations: 318.3 kB / 1.061 GB, free: 488 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/1.486, allocations: 217.2 kB / 1.061 GB, free: 316 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/1.489, allocations: 1.356 MB / 1.062 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009184/1.49, allocations: 1.103 MB / 1.064 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001336/1.492, allocations: 171.5 kB / 1.064 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/1.492, allocations: 59.42 kB / 1.064 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of SimCode: time 3.326e-06/1.492, allocations: 0 / 1.064 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of Templates: time 0.03521/1.527, allocations: 10.63 MB / 1.074 GB, free: 3.211 MB / 0.6823 GB