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.382/2.382, allocations: 252.6 MB / 265.2 MB, free: 5.727 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.001483/0.001483, allocations: 191.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.00107/0.00107, allocations: 101.5 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.315e-05/4.318e-05, allocations: 11.94 kB / 0.7912 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2067, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8603/1.067, allocations: 131.1 MB / 1.023 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.067, allocations: 67.91 kB / 1.023 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003345/1.071, allocations: 0.8402 MB / 1.024 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.413e-06/1.071, allocations: 0 / 1.024 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.071, allocations: 0 / 1.024 GB, free: 2.582 MB / 0.6355 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.0006149/1.071, allocations: 366.2 kB / 1.024 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.071, allocations: 8.031 kB / 1.024 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/1.071, allocations: 4 kB / 1.024 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/1.072, allocations: 174.9 kB / 1.024 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/1.072, allocations: 4 kB / 1.024 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/1.072, allocations: 0 / 1.024 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/1.072, allocations: 48.62 kB / 1.024 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.072, allocations: 0 / 1.024 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.072, allocations: 0 / 1.024 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.072, allocations: 4 kB / 1.024 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.962e-05/1.072, allocations: 14.88 kB / 1.024 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006903/1.073, allocations: 314.4 kB / 1.025 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/1.073, allocations: 29.45 kB / 1.025 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/1.073, allocations: 20.56 kB / 1.025 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/1.073, allocations: 0 / 1.025 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/1.073, allocations: 33.19 kB / 1.025 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/1.073, allocations: 4 kB / 1.025 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001958/1.073, allocations: 56.48 kB / 1.025 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/1.073, allocations: 55.36 kB / 1.025 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.55e-05/1.073, allocations: 104.2 kB / 1.025 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/1.073, allocations: 29.33 kB / 1.025 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/1.073, allocations: 84.14 kB / 1.025 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/1.073, allocations: 6.656 kB / 1.025 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/1.073, allocations: 0 / 1.025 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.074, allocations: 318.2 kB / 1.025 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.282e-05/1.074, allocations: 15.75 kB / 1.025 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/1.074, allocations: 7.688 kB / 1.025 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/1.074, allocations: 4 kB / 1.025 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/1.074, allocations: 0 / 1.025 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001375/1.074, allocations: 62.66 kB / 1.026 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.074, allocations: 4 kB / 1.026 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.074, allocations: 0 / 1.026 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.074, allocations: 0 / 1.026 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/1.074, allocations: 27.97 kB / 1.026 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.074, allocations: 0 / 1.026 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/1.074, allocations: 27.86 kB / 1.026 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/1.074, allocations: 0 / 1.026 GB, free: 0.6641 MB / 0.6355 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 () * 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.207e-05/1.075, allocations: 105 kB / 1.026 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/1.075, allocations: 2.875 kB / 1.026 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/1.075, allocations: 15.97 kB / 1.026 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.075, allocations: 0 / 1.026 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.075, allocations: 0 / 1.026 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.075, allocations: 0 / 1.026 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/1.075, allocations: 176 kB / 1.026 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.075, allocations: 0 / 1.026 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/1.075, allocations: 19.98 kB / 1.026 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.075, allocations: 0 / 1.026 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/1.075, allocations: 4.875 kB / 1.026 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.075, allocations: 0 / 1.026 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.075, allocations: 0 / 1.026 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/1.075, allocations: 158.8 kB / 1.026 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/1.075, allocations: 81.11 kB / 1.026 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/1.075, allocations: 0 / 1.026 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/1.076, allocations: 20.48 kB / 1.026 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/1.076, allocations: 3.984 kB / 1.026 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/1.076, allocations: 3.062 kB / 1.026 GB, free: 20 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.286e-05/1.076, allocations: 86.34 kB / 1.026 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.076, allocations: 0 / 1.026 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000268/1.076, allocations: 11.94 kB / 1.026 GB, free: 15.93 MB / 0.6511 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 () * 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.0001502/1.076, allocations: 100.6 kB / 1.026 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000135/1.076, allocations: 26.62 kB / 1.026 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.076, allocations: 4 kB / 1.026 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/1.076, allocations: 14.62 kB / 1.026 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/1.077, allocations: 11.22 kB / 1.026 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/1.077, allocations: 79.7 kB / 1.026 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/1.077, allocations: 0.6848 MB / 1.027 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.786e-05/1.077, allocations: 4 kB / 1.027 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/1.077, allocations: 7.438 kB / 1.027 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of SimCode: time 1.332e-06/1.077, allocations: 0 / 1.027 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of Templates: time 0.003298/1.081, allocations: 0.5336 MB / 1.028 GB, free: 14.45 MB / 0.6511 GB