Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.846/4.846, allocations: 0.5623 GB / 0.5776 GB, free: 3.348 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.002541/0.002541, allocations: 360 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.416/4.416, allocations: 410.7 MB / 1.113 GB, free: 5.961 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.001868/0.001867, allocations: 180.6 kB / 1.226 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004935, allocations: 12 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7239, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.9226, allocations: 138.1 MB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.9229, allocations: 70.06 kB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01004/0.9329, allocations: 2.234 MB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.643e-06/0.933, allocations: 0.625 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.933, allocations: 4 kB / 1.598 GB, free: 143.8 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.000667/0.9337, allocations: 427.9 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.9337, allocations: 15.62 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.9338, allocations: 5.719 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.9339, allocations: 174.9 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.9339, allocations: 9.25 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.934, allocations: 4 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.9344, allocations: 95.78 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9344, allocations: 0.8438 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.9344, allocations: 4 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.9345, allocations: 4.969 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.935, allocations: 92.52 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.9355, allocations: 326.4 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.9359, allocations: 68.55 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.9362, allocations: 51.91 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.9362, allocations: 5.5 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004173/0.9366, allocations: 107.5 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 3.487e-06/0.9366, allocations: 0 / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0009784/0.9376, allocations: 198.8 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.9377, allocations: 55.36 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.9378, allocations: 126.1 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.9378, allocations: 25.7 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.9379, allocations: 100.8 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.9379, allocations: 19.86 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.938, allocations: 11.09 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.938, allocations: 310.8 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.9384, allocations: 76.5 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.9388, allocations: 85.19 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.9392, allocations: 100.7 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9392, allocations: 2.344 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008544/0.94, allocations: 234.8 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.9401, allocations: 45.28 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.9401, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.9402, allocations: 3.938 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.9404, allocations: 22.02 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.9404, allocations: 4 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.9408, allocations: 56.69 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.9409, allocations: 7.984 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.000102/0.941, allocations: 117.8 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.941, allocations: 3.906 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.9411, allocations: 13.25 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.9411, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.9411, allocations: 0.5625 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.9411, allocations: 4.078 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.9413, allocations: 186.8 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.9413, allocations: 4 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.9415, allocations: 25.52 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.9415, allocations: 5.062 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.9415, allocations: 8.578 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9415, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9415, allocations: 1 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.9422, allocations: 178.1 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.9422, allocations: 81.05 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.9422, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.9424, allocations: 17.42 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.9425, allocations: 12.95 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.9425, allocations: 4 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.9426, allocations: 96.7 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9426, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003154/0.9429, allocations: 31.91 kB / 1.602 GB, free: 140 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001629/0.9431, allocations: 112.2 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007845/0.9439, allocations: 207.8 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.9439, allocations: 0.5938 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.9442, allocations: 65.7 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.9445, allocations: 17.44 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.945, allocations: 177.3 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.9451, allocations: 0.6899 MB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.544e-05/0.9452, allocations: 4.781 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.9452, allocations: 7.438 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.9452, allocations: 0.7812 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.004789/0.95, allocations: 1.353 MB / 1.605 GB, free: 137.4 MB / 0.8542 GB