Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.833/4.833, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 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.00245/0.00245, allocations: 359.2 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.164/4.164, allocations: 410.7 MB / 1.113 GB, free: 6.016 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.001862/0.001862, allocations: 198 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004835, allocations: 15.98 kB / 1.349 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.7437, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.9435, allocations: 137.6 MB / 1.596 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.9438, allocations: 71.95 kB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.003863/0.9477, allocations: 0.9516 MB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.847e-06/0.9477, allocations: 1.625 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.9477, allocations: 3.938 kB / 1.597 GB, free: 145.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006173/0.9484, allocations: 373.8 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.9484, allocations: 12.94 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.9485, allocations: 4 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.9486, allocations: 174.9 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.9486, allocations: 0.6562 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.9486, allocations: 4 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.9489, allocations: 68.22 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9489, allocations: 0 / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.9489, allocations: 4 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.949, allocations: 1.266 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.9493, allocations: 59.88 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.9499, allocations: 302.5 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.9503, allocations: 64.8 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.9505, allocations: 30.81 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.9506, allocations: 3.938 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.9506, allocations: 33.25 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.124e-06/0.9506, allocations: 0 / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0005676/0.9512, allocations: 108.5 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.9512, allocations: 59.34 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.9513, allocations: 114.8 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.9513, allocations: 25.7 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.9514, allocations: 88.95 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.9514, allocations: 3.906 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.9514, allocations: 1.5 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.9515, allocations: 318.8 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.9517, allocations: 28.83 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.9518, allocations: 30.53 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.952, allocations: 25.22 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.952, allocations: 4.5 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000353/0.9524, allocations: 88.56 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.9524, allocations: 7.938 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9524, allocations: 0 / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.9524, allocations: 5.156 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.9526, allocations: 11.98 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.9526, allocations: 8.844 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.9528, allocations: 21.61 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.9528, allocations: 4 kB / 1.599 GB, free: 143.4 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: 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 9.154e-05/0.9529, allocations: 115.2 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.953, allocations: 4.891 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004195/0.9534, allocations: 92.08 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.9534, allocations: 4 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9535, allocations: 0.5312 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.9535, allocations: 9.375 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.9537, allocations: 165.7 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.9537, allocations: 384 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.9538, allocations: 13.92 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.9538, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.9539, allocations: 0.7188 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.9539, allocations: 7.938 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9539, allocations: 1.375 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.9543, allocations: 192.5 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.9543, allocations: 81.8 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.9544, allocations: 3.984 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.9546, allocations: 21.98 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.9547, allocations: 3.984 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.9547, allocations: 6.062 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.322e-05/0.9548, allocations: 87.27 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9548, allocations: 0 / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002793/0.9551, allocations: 12 kB / 1.6 GB, free: 142.5 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: 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.00014/0.9553, allocations: 102.5 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003974/0.9557, allocations: 64.11 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.9557, allocations: 0 / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.9559, allocations: 27.98 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.9563, allocations: 7.938 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.9567, allocations: 135.3 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.9568, allocations: 0.6809 MB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.661e-05/0.9569, allocations: 8.891 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.957, allocations: 8.188 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.483e-06/0.957, allocations: 0 / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003674/0.9606, allocations: 0.6332 MB / 1.601 GB, free: 140.8 MB / 0.8542 GB