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.468/2.468, 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.001454/0.001454, allocations: 180.8 kB / 319.9 MB, free: 3.066 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.116/2.116, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.00115/0.00115, allocations: 91.94 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.506e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2087, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9257/1.134, allocations: 131.5 MB / 1.017 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/1.135, allocations: 72.2 kB / 1.017 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004767/1.139, allocations: 1.161 MB / 1.018 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/1.14, allocations: 0 / 1.018 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.037e-05/1.14, allocations: 4 kB / 1.018 GB, free: 4.73 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006566/1.14, allocations: 388.7 kB / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.14, allocations: 12.02 kB / 1.019 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/1.14, allocations: 4.75 kB / 1.019 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/1.141, allocations: 182.8 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/1.141, allocations: 0 / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/1.141, allocations: 7.984 kB / 1.019 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001224/1.141, allocations: 29.75 kB / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/1.141, allocations: 55.81 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.141, allocations: 7.938 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/1.141, allocations: 3.984 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/1.141, allocations: 2.516 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007909/1.142, allocations: 321.8 kB / 1.019 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/1.142, allocations: 38.39 kB / 1.019 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/1.142, allocations: 23.42 kB / 1.019 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/1.142, allocations: 3.984 kB / 1.019 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/1.142, allocations: 85.69 kB / 1.019 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/1.142, allocations: 0 / 1.019 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002865/1.142, allocations: 88.27 kB / 1.019 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/1.143, allocations: 59.36 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/1.143, allocations: 116.6 kB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/1.143, allocations: 29.7 kB / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/1.143, allocations: 87.08 kB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/1.143, allocations: 19.16 kB / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/1.143, allocations: 4 kB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.143, allocations: 322 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/1.143, allocations: 18.25 kB / 1.02 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.311e-05/1.143, allocations: 45.36 kB / 1.02 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/1.143, allocations: 10.62 kB / 1.02 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.143, allocations: 7.938 kB / 1.02 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002001/1.143, allocations: 91.38 kB / 1.02 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.143, allocations: 11.94 kB / 1.02 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.143, allocations: 0 / 1.02 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.143, allocations: 7.984 kB / 1.02 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/1.144, allocations: 7.938 kB / 1.02 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.144, allocations: 0 / 1.02 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/1.144, allocations: 28.03 kB / 1.02 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/1.144, allocations: 4 kB / 1.02 GB, free: 2.578 MB / 0.6355 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 () * 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 9.995e-05/1.144, allocations: 118.8 kB / 1.02 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/1.144, allocations: 11.66 kB / 1.02 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/1.144, allocations: 8.438 kB / 1.02 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.144, allocations: 4 kB / 1.02 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.144, allocations: 0 / 1.02 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.144, allocations: 0 / 1.02 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/1.144, allocations: 172.1 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.144, allocations: 0 / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/1.144, allocations: 7.938 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.144, allocations: 0 / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/1.144, allocations: 0 / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.144, allocations: 0 / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.144, allocations: 0 / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/1.145, allocations: 118 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/1.145, allocations: 81.02 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/1.145, allocations: 8 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/1.145, allocations: 26.03 kB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/1.145, allocations: 15.97 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/1.145, allocations: 0 / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.955e-05/1.145, allocations: 93.91 kB / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.145, allocations: 0 / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002784/1.145, allocations: 16 kB / 1.021 GB, free: 1.871 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * Number of discrete 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.0001427/1.145, allocations: 107.8 kB / 1.021 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001826/1.146, allocations: 58.12 kB / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.146, allocations: 0 / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/1.146, allocations: 30.44 kB / 1.021 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/1.146, allocations: 32.08 kB / 1.021 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/1.147, allocations: 111.7 kB / 1.021 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/1.147, allocations: 0.6963 MB / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.037e-05/1.147, allocations: 4.562 kB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/1.147, allocations: 19.42 kB / 1.022 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of SimCode: time 7.12e-07/1.147, allocations: 0 / 1.022 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of Templates: time 0.004339/1.151, allocations: 0.9923 MB / 1.023 GB, free: 15.83 MB / 0.6511 GB