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.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 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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.179/2.179, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 175.9 kB / 325.6 MB, free: 2.844 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.52/2.52, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001089/0.001089, allocations: 94.3 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004862, allocations: 14.19 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2102, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2268/0.4371, allocations: 131.3 MB / 1.027 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.4374, allocations: 71.95 kB / 1.027 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005026/0.4425, allocations: 1.165 MB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4425, allocations: 0 / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.4425, allocations: 0 / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007612/0.4433, allocations: 404.4 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.4434, allocations: 12.03 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.4434, allocations: 7.906 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.4436, allocations: 182.9 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.4436, allocations: 0 / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.4437, allocations: 4 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.4438, allocations: 65.61 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4439, allocations: 0 / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.4439, allocations: 0 / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4439, allocations: 4 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.444, allocations: 31.98 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009112/0.445, allocations: 356.8 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.4452, allocations: 54.48 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.4452, allocations: 0 / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.4454, allocations: 79.38 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.4454, allocations: 0 / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003678/0.4458, allocations: 117.5 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.4459, allocations: 59.34 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.446, allocations: 120.9 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.4461, allocations: 33.7 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.4461, allocations: 84.14 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.4462, allocations: 27.88 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.4462, allocations: 4 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4463, allocations: 318.8 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.4464, allocations: 19.98 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.561e-05/0.4465, allocations: 47.42 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.422e-05/0.4466, allocations: 20 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4466, allocations: 0 / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000245/0.4469, allocations: 101.8 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.4469, allocations: 7.984 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4469, allocations: 8.094 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.447, allocations: 96 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4471, allocations: 15.88 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.4471, allocations: 3.953 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.4473, allocations: 27.89 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.4474, allocations: 11.92 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001387/0.4475, allocations: 121.8 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.4476, allocations: 4 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.4476, allocations: 12.38 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4476, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4476, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4477, allocations: 3.953 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.4479, allocations: 193.5 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.4479, allocations: 0 / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.4479, allocations: 3.938 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.448, allocations: 7.984 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.448, allocations: 4 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.448, allocations: 0 / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.448, allocations: 0 / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.4483, allocations: 117 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.4484, allocations: 89.02 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.4484, allocations: 0 / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.4486, allocations: 27.97 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.4487, allocations: 11.98 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.4487, allocations: 4 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.619e-05/0.4488, allocations: 99.27 kB / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4488, allocations: 0 / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003109/0.4492, allocations: 12 kB / 1.031 GB, free: 9.535 MB / 0.6823 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 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * 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.0001558/0.4493, allocations: 107.2 kB / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.4496, allocations: 63.86 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4496, allocations: 288 / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.4497, allocations: 39.92 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.4501, allocations: 19.94 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.4507, allocations: 219.8 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.4511, allocations: 0.6926 MB / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.675e-05/0.4512, allocations: 8.547 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.4512, allocations: 15.44 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/0.4512, allocations: 4 kB / 1.032 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of Templates: time 0.004812/0.456, allocations: 1.035 MB / 1.033 GB, free: 7.281 MB / 0.6823 GB