Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.174/2.174, allocations: 253.2 MB / 260.6 MB, free: 7.402 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.001466/0.001465, allocations: 170.6 kB / 319.9 MB, free: 3.059 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.061/2.061, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001078/0.001078, allocations: 106.8 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.26e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2073, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8559/1.063, allocations: 132.6 MB / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/1.064, allocations: 85.06 kB / 1.018 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008415/1.072, allocations: 1.796 MB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/1.072, allocations: 4 kB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.606e-06/1.072, allocations: 0 / 1.02 GB, free: 3.094 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009823/1.073, allocations: 425.1 kB / 1.02 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.073, allocations: 12.03 kB / 1.02 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/1.073, allocations: 11.86 kB / 1.02 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/1.073, allocations: 182.6 kB / 1.021 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/1.073, allocations: 4 kB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/1.074, allocations: 4 kB / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001668/1.074, allocations: 46 kB / 1.021 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/1.074, allocations: 69.3 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.074, allocations: 0 / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/1.074, allocations: 7.938 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/1.074, allocations: 4.938 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/1.075, allocations: 380.1 kB / 1.021 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/1.075, allocations: 54.88 kB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/1.075, allocations: 24.17 kB / 1.021 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/1.075, allocations: 0 / 1.021 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/1.075, allocations: 34.5 kB / 1.021 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/1.075, allocations: 0 / 1.021 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002447/1.076, allocations: 63.97 kB / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.076, allocations: 55.41 kB / 1.021 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/1.076, allocations: 130.3 kB / 1.021 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/1.076, allocations: 29.7 kB / 1.021 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/1.076, allocations: 106.9 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/1.076, allocations: 11.39 kB / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/1.076, allocations: 4 kB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.076, allocations: 318.5 kB / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.32e-05/1.076, allocations: 19.31 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/1.076, allocations: 21.86 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.909e-05/1.076, allocations: 11.56 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.076, allocations: 4 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000191/1.077, allocations: 72.45 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.077, allocations: 5.406 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/1.077, allocations: 4 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/1.077, allocations: 0 / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/1.077, allocations: 11.98 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.077, allocations: 4.719 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/1.077, allocations: 41.25 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/1.077, allocations: 224 / 1.022 GB, free: 0.9453 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: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001064/1.077, allocations: 111.2 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/1.077, allocations: 11.84 kB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/1.077, allocations: 11.58 kB / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.077, allocations: 4 kB / 1.022 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.077, allocations: 4 kB / 1.022 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.078, allocations: 0 / 1.022 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/1.078, allocations: 170.1 kB / 1.022 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.078, allocations: 0 / 1.022 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/1.078, allocations: 15.94 kB / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.078, allocations: 0 / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/1.078, allocations: 0 / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.078, allocations: 0 / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.078, allocations: 4.062 kB / 1.022 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/1.078, allocations: 168.5 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/1.078, allocations: 85 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/1.078, allocations: 7.453 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/1.079, allocations: 31.97 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/1.079, allocations: 19.95 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/1.079, allocations: 2.375 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.903e-05/1.079, allocations: 100.7 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.079, allocations: 3.938 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003269/1.079, allocations: 15.94 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001421/1.079, allocations: 101.8 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001811/1.08, allocations: 47.38 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.08, allocations: 0 / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/1.08, allocations: 26.88 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/1.08, allocations: 12.36 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/1.08, allocations: 118.2 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/1.081, allocations: 0.7001 MB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.31e-05/1.081, allocations: 12.17 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/1.081, allocations: 11.44 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/1.081, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of Templates: time 0.004502/1.085, allocations: 0.9292 MB / 1.025 GB, free: 14.21 MB / 0.6511 GB