Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.8/4.8, allocations: 0.5623 GB / 0.5775 GB, free: 3.395 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.002481/0.002481, allocations: 356.6 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.405/4.405, allocations: 410.7 MB / 1.113 GB, free: 5.973 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.00182/0.00182, allocations: 190.8 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007646/0.0007649, allocations: 12 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7741/0.775, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.9676, allocations: 137.4 MB / 1.596 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.9679, allocations: 73.98 kB / 1.596 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.002152/0.9701, allocations: 0.6546 MB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9701, allocations: 3.938 kB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.65e-05/0.9702, allocations: 1.188 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003712/0.9706, allocations: 336.8 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.9706, allocations: 11.62 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.9707, allocations: 7.25 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.951e-05/0.9708, allocations: 178.9 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.9708, allocations: 1.344 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.9708, allocations: 0 / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.971, allocations: 55.92 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.9711, allocations: 0 / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.9711, allocations: 0 / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.9711, allocations: 4 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.9714, allocations: 42.59 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.9718, allocations: 270.8 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.972, allocations: 40.94 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.9722, allocations: 33.45 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.9722, allocations: 1.656 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.9722, allocations: 30.56 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/0.9723, allocations: 0.9062 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.000531/0.9728, allocations: 100.8 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.9728, allocations: 51.41 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.317e-05/0.9729, allocations: 102.5 kB / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.9729, allocations: 26.33 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.973, allocations: 81.39 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.973, allocations: 7.891 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.973, allocations: 0 / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.9731, allocations: 327.2 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.9732, allocations: 17.67 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.9734, allocations: 25.3 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.9735, allocations: 23.56 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9735, allocations: 0 / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003117/0.9739, allocations: 72.17 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9739, allocations: 11.94 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.9739, allocations: 0 / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.9739, allocations: 0.5 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.9741, allocations: 16.7 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.9741, allocations: 0 / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.9742, allocations: 17.67 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.9742, allocations: 4 kB / 1.598 GB, free: 144 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 (2): * Single equations (assignments): 2 * 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 5.963e-05/0.9743, allocations: 112.1 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.9743, allocations: 4 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.9747, allocations: 78.75 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.9747, allocations: 4 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.9747, allocations: 0 / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.9747, allocations: 3.031 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.9749, allocations: 161.6 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9749, allocations: 0 / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.975, allocations: 16.89 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.975, allocations: 1 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.9751, allocations: 0 / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.9751, allocations: 4 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9751, allocations: 4.969 kB / 1.598 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.9754, allocations: 173.2 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.9755, allocations: 82.08 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.9755, allocations: 0 / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.9756, allocations: 13.92 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.9757, allocations: 0 / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.9757, allocations: 0 / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.9757, allocations: 79.28 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9757, allocations: 0.75 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000258/0.976, allocations: 4 kB / 1.599 GB, free: 143.2 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 (2): * Single equations (assignments): 2 * 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.0001132/0.9761, allocations: 105.3 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.9765, allocations: 50.09 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9765, allocations: 0 / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.9766, allocations: 23.11 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.977, allocations: 11.94 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.9773, allocations: 117 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.9774, allocations: 0.6776 MB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.9775, allocations: 4.672 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.9775, allocations: 8.125 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.9775, allocations: 4 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.002608/0.9801, allocations: 352.4 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB