Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008462/0.008466, allocations: 233.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001887/0.001888, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.045/4.045, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.049/4.049, allocations: 472.3 MB / 0.9024 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005322/0.0005325, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.173, allocations: 98.72 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7905/0.9636, allocations: 124.4 MB / 1.226 GB, free: 28.69 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/0.9641, allocations: 73.98 kB / 1.226 GB, free: 28.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.007157/0.9713, allocations: 1.155 MB / 1.227 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.046e-06/0.9713, allocations: 0 / 1.227 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.9713, allocations: 0 / 1.227 GB, free: 27.91 MB / 0.6198 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.0009379/0.9723, allocations: 406.4 kB / 1.228 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.9724, allocations: 12.03 kB / 1.228 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.9724, allocations: 7.188 kB / 1.228 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.9726, allocations: 177 kB / 1.228 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.9727, allocations: 7.562 kB / 1.228 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.9727, allocations: 4 kB / 1.228 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.9729, allocations: 63.66 kB / 1.228 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.973, allocations: 0 / 1.228 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.973, allocations: 0 / 1.228 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.973, allocations: 3.469 kB / 1.228 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.9732, allocations: 30.8 kB / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.9744, allocations: 349.5 kB / 1.228 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.9746, allocations: 53.84 kB / 1.228 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.9748, allocations: 19.84 kB / 1.228 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.9748, allocations: 9.25 kB / 1.228 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.9751, allocations: 80.8 kB / 1.228 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 4.027e-06/0.9752, allocations: 0 / 1.228 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004988/0.9757, allocations: 120.6 kB / 1.229 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.9758, allocations: 52.67 kB / 1.229 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.9759, allocations: 136.8 kB / 1.229 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.976, allocations: 28.8 kB / 1.229 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.9761, allocations: 92.62 kB / 1.229 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.9762, allocations: 24.92 kB / 1.229 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.9762, allocations: 7.938 kB / 1.229 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.9764, allocations: 320.1 kB / 1.229 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.9766, allocations: 22 kB / 1.229 GB, free: 26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.9767, allocations: 48.27 kB / 1.229 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/0.9768, allocations: 19.44 kB / 1.229 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9769, allocations: 0 / 1.229 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003381/0.9772, allocations: 103.1 kB / 1.229 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.9773, allocations: 4 kB / 1.229 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9773, allocations: 0 / 1.229 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.9773, allocations: 6.906 kB / 1.229 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.9775, allocations: 14.31 kB / 1.229 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.9775, allocations: 7.938 kB / 1.229 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.9779, allocations: 18.66 kB / 1.229 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.9779, allocations: 7.188 kB / 1.229 GB, free: 25.82 MB / 0.6198 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.0001706/0.9781, allocations: 127.4 kB / 1.23 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.9782, allocations: 7.906 kB / 1.23 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.492e-05/0.9783, allocations: 9.516 kB / 1.23 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.9783, allocations: 0 / 1.23 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.9783, allocations: 10.61 kB / 1.23 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.9783, allocations: 5.641 kB / 1.23 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.9786, allocations: 185.6 kB / 1.23 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9787, allocations: 4 kB / 1.23 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.9787, allocations: 1.406 kB / 1.23 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.9787, allocations: 1.172 kB / 1.23 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.9788, allocations: 5.438 kB / 1.23 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.9788, allocations: 4 kB / 1.23 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9788, allocations: 0 / 1.23 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.9792, allocations: 129.3 kB / 1.23 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.9792, allocations: 82.61 kB / 1.23 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.9793, allocations: 7.188 kB / 1.23 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.9796, allocations: 22.91 kB / 1.23 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.9797, allocations: 13.95 kB / 1.23 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.9798, allocations: 0.8906 kB / 1.23 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001232/0.9799, allocations: 102.1 kB / 1.23 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.61e-07/0.98, allocations: 0 / 1.23 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004958/0.9805, allocations: 23.77 kB / 1.23 GB, free: 25.14 MB / 0.6198 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.0001707/0.9807, allocations: 100.1 kB / 1.23 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.981, allocations: 66.81 kB / 1.23 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.981, allocations: 3.25 kB / 1.23 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.9812, allocations: 35.86 kB / 1.23 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.9818, allocations: 22.02 kB / 1.23 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.9825, allocations: 197 kB / 1.231 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008638/0.9833, allocations: 0.703 MB / 1.231 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.4e-05/0.9835, allocations: 8.078 kB / 1.231 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.9835, allocations: 11.44 kB / 1.231 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of SimCode: time 1.332e-06/0.9836, allocations: 0.625 kB / 1.231 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of Templates: time 0.007062/0.9906, allocations: 1.047 MB / 1.232 GB, free: 39.5 MB / 0.6355 GB