Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.872/4.872, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002475/0.002475, allocations: 355.1 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.215/4.215, allocations: 410.7 MB / 1.113 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002636/0.002636, allocations: 184.2 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006472/0.0006473, allocations: 12 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7641/0.7648, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.9649, allocations: 137.4 MB / 1.595 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.9652, allocations: 74.44 kB / 1.596 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.002874/0.9681, allocations: 0.7965 MB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.474e-06/0.9681, allocations: 4 kB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.9681, allocations: 0.6875 kB / 1.596 GB, free: 146 MB / 0.8542 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.0005005/0.9686, allocations: 370.7 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.9687, allocations: 11.62 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.9687, allocations: 7.938 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.908e-05/0.9688, allocations: 180 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.9689, allocations: 4 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.9689, allocations: 4 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.9693, allocations: 75.84 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.9693, allocations: 5.766 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.9693, allocations: 4.938 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.9693, allocations: 0 / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005009/0.9698, allocations: 85 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/0.9705, allocations: 311.1 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.9708, allocations: 64.89 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.9711, allocations: 52.22 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.9711, allocations: 1.594 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.9712, allocations: 37.03 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.264e-06/0.9712, allocations: 0 / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0008794/0.9721, allocations: 166.7 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.9721, allocations: 51.41 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.607e-05/0.9722, allocations: 109.8 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.9722, allocations: 26.52 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.9723, allocations: 92.84 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.9723, allocations: 3.906 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.9723, allocations: 1.375 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.9724, allocations: 318.8 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.9726, allocations: 42.14 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.9729, allocations: 41.78 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.9732, allocations: 47.52 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9732, allocations: 0 / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005645/0.9738, allocations: 125.4 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.9738, allocations: 6.656 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.9738, allocations: 0.8125 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.9739, allocations: 5.062 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.9741, allocations: 21.98 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.9741, allocations: 0 / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.9743, allocations: 23.09 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.9743, allocations: 3.953 kB / 1.599 GB, free: 143.6 MB / 0.8542 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 7.619e-05/0.9744, allocations: 117.8 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.9744, allocations: 0 / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.9745, allocations: 11.91 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.9745, allocations: 2.25 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.9745, allocations: 0 / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9745, allocations: 0 / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.9747, allocations: 169.6 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9747, allocations: 3.938 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.9749, allocations: 20.73 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.9749, allocations: 1.594 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.9749, allocations: 4 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.9749, allocations: 0 / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9749, allocations: 1.688 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.9755, allocations: 224.6 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.9755, allocations: 81.11 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.9756, allocations: 0.5625 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.9758, allocations: 21.55 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.9758, allocations: 3.984 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.9759, allocations: 4.562 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.9759, allocations: 84.75 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9759, allocations: 0 / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002646/0.9762, allocations: 8 kB / 1.599 GB, free: 142.8 MB / 0.8542 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.000115/0.9763, allocations: 100.2 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005915/0.9769, allocations: 92.48 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.9769, allocations: 6.734 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.9772, allocations: 42.47 kB / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.9776, allocations: 15.42 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.9779, allocations: 137.8 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.9781, allocations: 0.6822 MB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.175e-05/0.9781, allocations: 2.016 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.9782, allocations: 7.438 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.9782, allocations: 0.75 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.003143/0.9814, allocations: 0.5222 MB / 1.601 GB, free: 141.1 MB / 0.8542 GB