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.465/2.465, allocations: 253.1 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.001461/0.001461, allocations: 182.8 kB / 319.9 MB, free: 3.09 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.195/2.195, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001088/0.001088, allocations: 94.31 kB / 0.6751 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.723e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2102, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9363/1.147, allocations: 131.7 MB / 1.017 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.147, allocations: 72.83 kB / 1.017 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004172/1.151, allocations: 0.9629 MB / 1.018 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.151, allocations: 0 / 1.018 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.151, allocations: 0 / 1.018 GB, free: 4.754 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006999/1.152, allocations: 366.6 kB / 1.019 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.152, allocations: 12.03 kB / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/1.152, allocations: 3.906 kB / 1.019 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/1.152, allocations: 174.9 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/1.152, allocations: 0 / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/1.152, allocations: 4 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001251/1.152, allocations: 29.92 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/1.152, allocations: 40.12 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/1.152, allocations: 3.938 kB / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.152, allocations: 0 / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.153, allocations: 4 kB / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006653/1.153, allocations: 276.3 kB / 1.019 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/1.153, allocations: 37.39 kB / 1.019 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/1.153, allocations: 12.48 kB / 1.019 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/1.154, allocations: 0 / 1.019 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.154, allocations: 42.64 kB / 1.019 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/1.154, allocations: 2.625 kB / 1.019 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001894/1.154, allocations: 48.55 kB / 1.019 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/1.154, allocations: 55.41 kB / 1.019 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/1.154, allocations: 100.1 kB / 1.019 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/1.154, allocations: 25.7 kB / 1.019 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/1.154, allocations: 87.39 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/1.154, allocations: 3.906 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/1.154, allocations: 0 / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.154, allocations: 326.2 kB / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/1.154, allocations: 6.875 kB / 1.02 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.633e-05/1.154, allocations: 10.97 kB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/1.154, allocations: 7.5 kB / 1.02 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.154, allocations: 0 / 1.02 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000129/1.154, allocations: 56.47 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/1.155, allocations: 4 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.155, allocations: 0 / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.155, allocations: 0 / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/1.155, allocations: 23.92 kB / 1.02 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.155, allocations: 0.8594 kB / 1.02 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/1.155, allocations: 15.98 kB / 1.02 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/1.155, allocations: 3.953 kB / 1.02 GB, free: 2.883 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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete 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 8.54e-05/1.155, allocations: 105 kB / 1.02 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/1.155, allocations: 3.984 kB / 1.02 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/1.155, allocations: 65.28 kB / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.155, allocations: 0 / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.155, allocations: 0 / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.155, allocations: 0 / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/1.156, allocations: 156.9 kB / 1.02 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.156, allocations: 0 / 1.02 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/1.156, allocations: 11.98 kB / 1.02 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.156, allocations: 0 / 1.02 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/1.156, allocations: 4.938 kB / 1.02 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/1.156, allocations: 7.938 kB / 1.02 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.156, allocations: 0 / 1.02 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/1.156, allocations: 146.6 kB / 1.02 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/1.156, allocations: 81.09 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/1.156, allocations: 4 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/1.156, allocations: 19.98 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/1.156, allocations: 13.3 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/1.156, allocations: 0 / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.171e-05/1.156, allocations: 79.59 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.156, allocations: 0 / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003036/1.157, allocations: 8 kB / 1.021 GB, free: 2.129 MB / 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * 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.0001491/1.157, allocations: 99.23 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001306/1.157, allocations: 31.31 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.157, allocations: 0 / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.094e-05/1.157, allocations: 15.39 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/1.157, allocations: 5.594 kB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/1.158, allocations: 83 kB / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/1.158, allocations: 0.6807 MB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.08e-05/1.158, allocations: 7.859 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/1.158, allocations: 15.38 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/1.158, allocations: 0 / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of Templates: time 0.003451/1.162, allocations: 0.5634 MB / 1.022 GB, free: 0.6094 MB / 0.6355 GB