Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001479/0.001479, allocations: 195 kB / 325.6 MB, free: 2.848 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.572/2.572, allocations: 205.4 MB / 0.5766 GB, free: 21.16 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.001118/0.001118, allocations: 94.52 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004916, allocations: 12.44 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2095, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2516/0.4611, allocations: 131.5 MB / 1.027 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.4614, allocations: 71.95 kB / 1.027 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004296/0.4658, allocations: 0.9542 MB / 1.028 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4658, allocations: 4 kB / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4658, allocations: 0 / 1.028 GB, free: 13.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007539/0.4666, allocations: 375.2 kB / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.4667, allocations: 8.031 kB / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.4667, allocations: 11.84 kB / 1.029 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.4669, allocations: 174.9 kB / 1.029 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.4669, allocations: 4 kB / 1.029 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.467, allocations: 4 kB / 1.029 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.4673, allocations: 73.64 kB / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4673, allocations: 0 / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4673, allocations: 0 / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4673, allocations: 0 / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.4677, allocations: 55.95 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007334/0.4684, allocations: 308.7 kB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.4688, allocations: 54.55 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4689, allocations: 0 / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.4689, allocations: 38.62 kB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.4689, allocations: 3.938 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005983/0.4695, allocations: 101.9 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.4696, allocations: 55.36 kB / 1.03 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4697, allocations: 112.9 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.4697, allocations: 25.7 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.4698, allocations: 100.1 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.4699, allocations: 3.906 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.4699, allocations: 0 / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.47, allocations: 314.8 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.4702, allocations: 35.97 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.4704, allocations: 27.97 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.4706, allocations: 27.92 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4706, allocations: 4 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004114/0.471, allocations: 81.66 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.471, allocations: 4 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4711, allocations: 4 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4711, allocations: 0 / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.4712, allocations: 19.98 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4712, allocations: 3.953 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.4715, allocations: 27.81 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.4715, allocations: 4 kB / 1.03 GB, free: 10.98 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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001001/0.4716, allocations: 109.8 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.4717, allocations: 8 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.4721, allocations: 93.42 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4721, allocations: 4 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4721, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4721, allocations: 3.953 kB / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.4724, allocations: 169.7 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4724, allocations: 0 / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.4725, allocations: 11.98 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4725, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4725, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4725, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.4726, allocations: 4 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.473, allocations: 191.3 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.4731, allocations: 81.11 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.4731, allocations: 0 / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.4733, allocations: 24.36 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.4734, allocations: 3.984 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.4734, allocations: 7.984 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.796e-05/0.4735, allocations: 91.22 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4735, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002819/0.4738, allocations: 4 kB / 1.031 GB, free: 10.09 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * 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.0001625/0.474, allocations: 103.2 kB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003947/0.4744, allocations: 64.14 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4744, allocations: 0 / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.4746, allocations: 28.06 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.4749, allocations: 13.2 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.4753, allocations: 136.7 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.4757, allocations: 0.6848 MB / 1.032 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.545e-05/0.4758, allocations: 4 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.4758, allocations: 15.44 kB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/0.4758, allocations: 0 / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of Templates: time 0.003959/0.4798, allocations: 0.6312 MB / 1.033 GB, free: 8.363 MB / 0.6823 GB