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.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.253/2.253, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 182.1 kB / 325.6 MB, free: 2.844 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.566/2.566, allocations: 205.4 MB / 0.5766 GB, free: 20.72 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.00123/0.001229, allocations: 84.19 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.000475, allocations: 12 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2212, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2432/0.4645, allocations: 131.2 MB / 1.027 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.4648, allocations: 75.95 kB / 1.027 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003336/0.4682, allocations: 0.8331 MB / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4682, allocations: 4 kB / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.4682, allocations: 0 / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006171/0.4689, allocations: 375.2 kB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4689, allocations: 8.031 kB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.469, allocations: 11.91 kB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.4691, allocations: 167 kB / 1.028 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.4692, allocations: 4 kB / 1.028 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.4692, allocations: 0 / 1.028 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.4696, allocations: 81.66 kB / 1.029 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4696, allocations: 3.984 kB / 1.029 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.4696, allocations: 3.938 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4696, allocations: 0 / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.4702, allocations: 91.86 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.4709, allocations: 304.8 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.4712, allocations: 66.53 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.4713, allocations: 4 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.4713, allocations: 30.56 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.003e-06/0.4713, allocations: 0 / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0009685/0.4723, allocations: 165.6 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.4724, allocations: 55.41 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.4725, allocations: 108.9 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4725, allocations: 25.7 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.4726, allocations: 84.14 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.4726, allocations: 11.81 kB / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.4726, allocations: 4 kB / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4727, allocations: 314.8 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.473, allocations: 43.97 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.4733, allocations: 39.97 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.4736, allocations: 43.95 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4736, allocations: 4 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005924/0.4742, allocations: 117.6 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.4743, allocations: 8 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4743, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4743, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.4745, allocations: 27.97 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4745, allocations: 320 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.4747, allocations: 15.98 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.4747, allocations: 3.953 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.715e-05/0.4748, allocations: 113.8 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.4749, allocations: 11.91 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.4749, allocations: 7.906 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4749, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.475, allocations: 4 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.475, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.4752, allocations: 177.5 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4752, allocations: 0 / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.4754, allocations: 15.98 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4754, allocations: 8 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.4755, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4755, allocations: 3.938 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4755, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.4761, allocations: 219.8 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.4762, allocations: 84.95 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.4762, allocations: 4 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.4764, allocations: 20.03 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.4765, allocations: 11.97 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.4765, allocations: 0 / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.262e-05/0.4766, allocations: 91.27 kB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4766, allocations: 0 / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002781/0.4769, allocations: 7.984 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001592/0.4771, allocations: 99.25 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006177/0.4777, allocations: 95.86 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4777, allocations: 0 / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.478, allocations: 47.97 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.4783, allocations: 15.84 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.4787, allocations: 136.5 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.479, allocations: 0.6809 MB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.15e-05/0.479, allocations: 3.984 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.4791, allocations: 11.44 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/0.4791, allocations: 4 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of Templates: time 0.003204/0.4823, allocations: 0.5146 MB / 1.032 GB, free: 8.258 MB / 0.6823 GB