Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.125/5.125, allocations: 0.5623 GB / 0.5769 GB, free: 3.309 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.002442/0.002442, allocations: 361.8 kB / 0.644 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.22/4.22, allocations: 410.7 MB / 1.112 GB, free: 5.91 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.001781/0.001781, allocations: 186 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.0005011, allocations: 20 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6692/0.6697, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0007234/0.6705, allocations: 435.2 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.6719, allocations: 1.183 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.6719, allocations: 4 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.672, allocations: 8.578 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.543e-05/0.6721, allocations: 12.64 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.6729, allocations: 284.7 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.6731, allocations: 195.6 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.6732, allocations: 17.61 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.783e-05/0.6733, allocations: 83.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.894e-05/0.6734, allocations: 68.86 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.6735, allocations: 12 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/0.6736, allocations: 31.92 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.6736, allocations: 9.875 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.6737, allocations: 45.64 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.6739, allocations: 145.8 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.906e-06/0.6739, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.504e-06/0.6739, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.6739, allocations: 2.125 kB / 1.463 GB, free: 281.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.0003777/0.6743, allocations: 464.2 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.6744, allocations: 15.56 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.6744, allocations: 15.91 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.122e-05/0.6745, allocations: 179 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.6746, allocations: 9.281 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.6746, allocations: 15.94 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.6748, allocations: 58.67 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.243e-06/0.6748, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.6748, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-06/0.6748, allocations: 1.188 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.083e-05/0.6749, allocations: 23.98 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.6754, allocations: 413.9 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.533e-05/0.6755, allocations: 35.11 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.6756, allocations: 22.78 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.6756, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.6758, allocations: 104.6 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 2.502e-06/0.6758, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.000314/0.6761, allocations: 139.9 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.6762, allocations: 55.36 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.6763, allocations: 140 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.6763, allocations: 33.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.6764, allocations: 96.08 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.6764, allocations: 23.7 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.6765, allocations: 8 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.406e-05/0.6765, allocations: 323.4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.6768, allocations: 85.08 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.677, allocations: 139.6 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.6773, allocations: 162.3 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.362e-06/0.6773, allocations: 6.844 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006826/0.678, allocations: 370.8 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.6781, allocations: 105.1 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6781, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6781, allocations: 4.75 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.633e-05/0.6781, allocations: 11.89 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.169e-06/0.6782, allocations: 1.406 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005982/0.6788, allocations: 121.2 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.6788, allocations: 19.98 kB / 1.466 GB, free: 278.4 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,or1.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.0001166/0.679, allocations: 135.2 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.679, allocations: 7.906 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.679, allocations: 12.36 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.731e-06/0.679, allocations: 0 / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6791, allocations: 8.422 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.2e-06/0.6791, allocations: 5.625 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.6792, allocations: 181.6 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-06/0.6792, allocations: 0 / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.46e-05/0.6793, allocations: 3.984 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.903e-06/0.6793, allocations: 0.6875 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.6793, allocations: 9.125 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.463e-06/0.6793, allocations: 0.9375 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.099e-06/0.6793, allocations: 0 / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.6795, allocations: 138 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.6796, allocations: 86.33 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.6796, allocations: 0 / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.6797, allocations: 4 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.6797, allocations: 18.52 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.6798, allocations: 4 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.833e-05/0.6798, allocations: 99.06 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.75e-07/0.6798, allocations: 0 / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003378/0.6802, allocations: 47.94 kB / 1.467 GB, free: 277.6 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,or1.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.0001335/0.6803, allocations: 108.9 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.6808, allocations: 362 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.693e-06/0.6808, allocations: 0.875 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.6809, allocations: 44.02 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.6813, allocations: 25.77 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.6816, allocations: 210.2 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.6818, allocations: 0.6983 MB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.6818, allocations: 8.375 kB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.6819, allocations: 16.59 kB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of SimCode: time 1.421e-06/0.6819, allocations: 0 / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of Templates: time 0.005737/0.6876, allocations: 2.391 MB / 1.471 GB, free: 273.8 MB / 0.8542 GB