Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.836/4.836, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002556/0.002556, allocations: 358.5 kB / 0.6446 GB, free: 21.54 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.195/4.195, allocations: 410.7 MB / 1.113 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001803/0.001803, allocations: 183.6 kB / 1.226 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004902, allocations: 12.84 kB / 1.349 GB, free: 321 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2142, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2038/0.4181, allocations: 138 MB / 1.596 GB, free: 82.57 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.4183, allocations: 75.95 kB / 1.596 GB, free: 82.5 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.01836/0.4367, allocations: 4.062 MB / 1.6 GB, free: 78.48 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4368, allocations: 3.938 kB / 1.6 GB, free: 78.47 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.4368, allocations: 4.594 kB / 1.6 GB, free: 78.47 MB / 0.8073 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.0004937/0.4373, allocations: 464.7 kB / 1.601 GB, free: 77.95 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4374, allocations: 9.438 kB / 1.601 GB, free: 77.94 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.57e-05/0.4374, allocations: 15.91 kB / 1.601 GB, free: 77.93 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.938e-05/0.4376, allocations: 175.7 kB / 1.601 GB, free: 77.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.4376, allocations: 12.62 kB / 1.601 GB, free: 77.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.4377, allocations: 12 kB / 1.601 GB, free: 77.69 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.4378, allocations: 54.3 kB / 1.601 GB, free: 77.63 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4379, allocations: 0.5 kB / 1.601 GB, free: 77.63 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.4379, allocations: 3.984 kB / 1.601 GB, free: 77.63 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4379, allocations: 4.625 kB / 1.601 GB, free: 77.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.438, allocations: 20.59 kB / 1.601 GB, free: 77.61 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.4386, allocations: 417.8 kB / 1.601 GB, free: 77.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/0.4387, allocations: 31.17 kB / 1.601 GB, free: 77.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.4388, allocations: 21.72 kB / 1.601 GB, free: 77.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.4388, allocations: 0.625 kB / 1.601 GB, free: 77.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.439, allocations: 115.1 kB / 1.601 GB, free: 76.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.439, allocations: 0 / 1.601 GB, free: 76.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0003906/0.4394, allocations: 137.5 kB / 1.602 GB, free: 76.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.4395, allocations: 59.3 kB / 1.602 GB, free: 76.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4396, allocations: 140.2 kB / 1.602 GB, free: 76.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.4397, allocations: 33.7 kB / 1.602 GB, free: 76.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.4398, allocations: 96.12 kB / 1.602 GB, free: 76.47 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.4398, allocations: 24.73 kB / 1.602 GB, free: 76.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.4399, allocations: 4 kB / 1.602 GB, free: 76.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.44, allocations: 324.8 kB / 1.602 GB, free: 76.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.4403, allocations: 83.95 kB / 1.602 GB, free: 76.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.4406, allocations: 141.5 kB / 1.602 GB, free: 75.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.4409, allocations: 167.9 kB / 1.603 GB, free: 75.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4409, allocations: 4 kB / 1.603 GB, free: 75.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008518/0.4418, allocations: 372.2 kB / 1.603 GB, free: 75.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.012e-05/0.4419, allocations: 101.1 kB / 1.603 GB, free: 75.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4419, allocations: 0.5 kB / 1.603 GB, free: 75.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.4419, allocations: 4 kB / 1.603 GB, free: 75.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.484e-05/0.442, allocations: 12.42 kB / 1.603 GB, free: 75.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.442, allocations: 0.7188 kB / 1.603 GB, free: 75.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008308/0.4428, allocations: 109.7 kB / 1.603 GB, free: 75.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.4429, allocations: 24.69 kB / 1.603 GB, free: 75.05 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001487/0.4431, allocations: 138.5 kB / 1.603 GB, free: 74.92 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.4431, allocations: 12.58 kB / 1.603 GB, free: 74.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.4431, allocations: 8.75 kB / 1.603 GB, free: 74.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4432, allocations: 0.7812 kB / 1.603 GB, free: 74.9 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.4432, allocations: 3.953 kB / 1.603 GB, free: 74.9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4432, allocations: 8.797 kB / 1.603 GB, free: 74.89 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.4433, allocations: 185.6 kB / 1.604 GB, free: 74.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4434, allocations: 5.469 kB / 1.604 GB, free: 74.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/0.4434, allocations: 0 / 1.604 GB, free: 74.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.4434, allocations: 0 / 1.604 GB, free: 74.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.4434, allocations: 7.984 kB / 1.604 GB, free: 74.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4434, allocations: 1.562 kB / 1.604 GB, free: 74.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4434, allocations: 0 / 1.604 GB, free: 74.65 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.4437, allocations: 138.4 kB / 1.604 GB, free: 74.5 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.4437, allocations: 85.02 kB / 1.604 GB, free: 74.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.4438, allocations: 3.984 kB / 1.604 GB, free: 74.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.4438, allocations: 4 kB / 1.604 GB, free: 74.39 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.4439, allocations: 16.58 kB / 1.604 GB, free: 74.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.4439, allocations: 4.938 kB / 1.604 GB, free: 74.37 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.731e-05/0.444, allocations: 95.27 kB / 1.604 GB, free: 74.27 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.81e-07/0.444, allocations: 2.562 kB / 1.604 GB, free: 74.27 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003613/0.4444, allocations: 51.89 kB / 1.604 GB, free: 74.22 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001687/0.4445, allocations: 117.8 kB / 1.604 GB, free: 74.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000608/0.4452, allocations: 359 kB / 1.604 GB, free: 73.71 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4452, allocations: 0 / 1.604 GB, free: 73.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.4453, allocations: 44.67 kB / 1.604 GB, free: 73.67 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.4456, allocations: 23.72 kB / 1.604 GB, free: 73.65 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.4461, allocations: 210.1 kB / 1.605 GB, free: 73.42 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.4463, allocations: 0.694 MB / 1.605 GB, free: 72.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.547e-05/0.4463, allocations: 8.984 kB / 1.605 GB, free: 72.69 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.4464, allocations: 19.97 kB / 1.605 GB, free: 72.67 MB / 0.8073 GB Notification: Performance of SimCode: time 1.012e-06/0.4464, allocations: 0 / 1.605 GB, free: 72.67 MB / 0.8073 GB Notification: Performance of Templates: time 0.006738/0.4531, allocations: 2.389 MB / 1.608 GB, free: 70.41 MB / 0.8073 GB