Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.827/4.827, allocations: 0.5623 GB / 0.5776 GB, free: 3.355 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.002607/0.002606, allocations: 354 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.132/4.132, allocations: 410.7 MB / 1.113 GB, free: 5.934 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.001911/0.001911, allocations: 179.9 kB / 1.226 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004903, allocations: 20 kB / 1.349 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7113/0.7118, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.243/0.9548, allocations: 138 MB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.9551, allocations: 75.95 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01899/0.9741, allocations: 4.064 MB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9742, allocations: 3.938 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.9742, allocations: 4 kB / 1.6 GB, free: 142.1 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.0004718/0.9747, allocations: 466.8 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.9747, allocations: 11.62 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.9748, allocations: 19.91 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.925e-05/0.9749, allocations: 171 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.975, allocations: 15.98 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.975, allocations: 15.94 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.9752, allocations: 54.83 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.9752, allocations: 0 / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.9752, allocations: 4 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.9753, allocations: 2.188 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.065e-05/0.9753, allocations: 26.36 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.976, allocations: 417.1 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.765e-05/0.976, allocations: 31.83 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.9761, allocations: 20.94 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.9761, allocations: 0.5312 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.9764, allocations: 105.3 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 2.885e-06/0.9764, allocations: 0 / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0004194/0.9768, allocations: 137.5 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.9769, allocations: 56.2 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.977, allocations: 133.7 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.471e-05/0.9771, allocations: 34.55 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.9772, allocations: 92.64 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.9772, allocations: 27.77 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.9773, allocations: 8.812 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.9773, allocations: 325 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.9776, allocations: 87.89 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.978, allocations: 135.5 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.9783, allocations: 166.5 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9783, allocations: 0 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000861/0.9792, allocations: 368.7 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.437e-05/0.9793, allocations: 112.6 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.9793, allocations: 0.6562 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.9793, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.442e-05/0.9794, allocations: 6.828 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.9794, allocations: 7.938 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008569/0.9802, allocations: 108.5 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.9803, allocations: 15.98 kB / 1.603 GB, free: 138.7 MB / 0.8542 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,and1.y,$PRE.booPul3.y,booPul3.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.0001534/0.9805, allocations: 135.1 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.9805, allocations: 7.906 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.9806, allocations: 14.34 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.9806, allocations: 0 / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.9806, allocations: 3.953 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9806, allocations: 0 / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.9808, allocations: 189.6 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.9808, allocations: 2.031 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.9808, allocations: 7.938 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.9808, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.9808, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.9809, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.9809, allocations: 4 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.9811, allocations: 142.5 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.9812, allocations: 89.83 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.9812, allocations: 1.312 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.9813, allocations: 5.203 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.9813, allocations: 11.98 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.9814, allocations: 4 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.9814, allocations: 100 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9814, allocations: 0 / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003721/0.9818, allocations: 51.95 kB / 1.604 GB, free: 137.9 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.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.0001598/0.982, allocations: 120.5 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005929/0.9826, allocations: 364.1 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.9826, allocations: 96 / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.9827, allocations: 43.92 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.9831, allocations: 18.55 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.9835, allocations: 209.4 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.9837, allocations: 0.7014 MB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.572e-05/0.9837, allocations: 12.95 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.9838, allocations: 12.06 kB / 1.605 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.212e-06/0.9838, allocations: 3.375 kB / 1.605 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.006826/0.9906, allocations: 2.375 MB / 1.608 GB, free: 134.1 MB / 0.8542 GB