Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.515/2.515, allocations: 253.2 MB / 260.6 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 185.6 kB / 319.9 MB, free: 3.027 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.201/2.201, allocations: 205.6 MB / 0.5708 GB, free: 15.23 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 93.02 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.345e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2238, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.238, allocations: 131.4 MB / 1.017 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/1.238, allocations: 76.56 kB / 1.017 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004361/1.243, allocations: 0.8963 MB / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/1.243, allocations: 0 / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.716e-06/1.243, allocations: 4 kB / 1.018 GB, free: 4.934 MB / 0.6355 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.0006936/1.244, allocations: 350.2 kB / 1.018 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/1.244, allocations: 12.02 kB / 1.018 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/1.244, allocations: 8.469 kB / 1.018 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/1.244, allocations: 171 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/1.244, allocations: 0 / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/1.244, allocations: 11.98 kB / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001286/1.244, allocations: 23.48 kB / 1.019 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/1.244, allocations: 49 kB / 1.019 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.244, allocations: 0 / 1.019 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/1.244, allocations: 0 / 1.019 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/1.244, allocations: 4 kB / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/1.245, allocations: 257.4 kB / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/1.245, allocations: 44.62 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.921e-05/1.245, allocations: 16.42 kB / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/1.245, allocations: 0 / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/1.245, allocations: 76.42 kB / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.294e-06/1.245, allocations: 0 / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002758/1.246, allocations: 61.75 kB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/1.246, allocations: 55.41 kB / 1.019 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/1.246, allocations: 105.3 kB / 1.019 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/1.246, allocations: 25.7 kB / 1.019 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/1.246, allocations: 95.78 kB / 1.019 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/1.246, allocations: 7.906 kB / 1.019 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-06/1.246, allocations: 0 / 1.019 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.246, allocations: 322.5 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.222e-05/1.246, allocations: 11.62 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/1.247, allocations: 45.75 kB / 1.02 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.484e-05/1.247, allocations: 8.078 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.247, allocations: 0 / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002183/1.247, allocations: 76.64 kB / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.247, allocations: 4 kB / 1.02 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/1.247, allocations: 4 kB / 1.02 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.593e-05/1.247, allocations: 64 / 1.02 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/1.247, allocations: 8 kB / 1.02 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/1.247, allocations: 3.984 kB / 1.02 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/1.247, allocations: 15.98 kB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/1.247, allocations: 0 / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001158/1.247, allocations: 112.4 kB / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/1.248, allocations: 7.906 kB / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/1.248, allocations: 12.31 kB / 1.02 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.248, allocations: 7.938 kB / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.248, allocations: 0 / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/1.248, allocations: 4 kB / 1.02 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/1.248, allocations: 157.3 kB / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.248, allocations: 0 / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/1.248, allocations: 0 / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.248, allocations: 0 / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/1.248, allocations: 4 kB / 1.02 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.248, allocations: 0 / 1.02 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.248, allocations: 0 / 1.02 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/1.248, allocations: 99.73 kB / 1.02 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/1.248, allocations: 81.09 kB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/1.248, allocations: 0 / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/1.249, allocations: 15.98 kB / 1.02 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/1.249, allocations: 7.984 kB / 1.02 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/1.249, allocations: 2.375 kB / 1.02 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.3e-05/1.249, allocations: 90.84 kB / 1.02 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.01e-07/1.249, allocations: 3.938 kB / 1.02 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004454/1.249, allocations: 11.69 kB / 1.02 GB, free: 2.332 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002017/1.25, allocations: 105.1 kB / 1.02 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001921/1.25, allocations: 34.69 kB / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.25, allocations: 0 / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/1.25, allocations: 19.69 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/1.25, allocations: 29.61 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/1.251, allocations: 91.28 kB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/1.251, allocations: 0.6885 MB / 1.021 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.331e-05/1.251, allocations: 19.77 kB / 1.021 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/1.251, allocations: 11.44 kB / 1.021 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/1.251, allocations: 0 / 1.021 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of Templates: time 0.004865/1.256, allocations: 0.7125 MB / 1.022 GB, free: 0.6172 MB / 0.6355 GB