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.MultiOr.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.009/4.009, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.735e-05, allocations: 5.875 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2048, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.4303, allocations: 124.5 MB / 0.7563 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.4306, allocations: 71.95 kB / 0.7564 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009443/0.44, allocations: 2.14 MB / 0.7585 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4401, allocations: 0 / 0.7585 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.4401, allocations: 4 kB / 0.7585 GB, free: 2.965 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009887/0.4411, allocations: 470.5 kB / 0.759 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4412, allocations: 8.031 kB / 0.759 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.427e-05/0.4413, allocations: 42.56 kB / 0.759 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.149e-05/0.4413, allocations: 23.8 kB / 0.759 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.4417, allocations: 221.2 kB / 0.7592 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.4417, allocations: 20 kB / 0.7593 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.4417, allocations: 12 kB / 0.7593 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.4422, allocations: 159.3 kB / 0.7594 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4422, allocations: 0 / 0.7594 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.4422, allocations: 0 / 0.7594 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4422, allocations: 4 kB / 0.7594 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.4425, allocations: 99.91 kB / 0.7595 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.4441, allocations: 0.6098 MB / 0.7601 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.4445, allocations: 215.6 kB / 0.7603 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.4446, allocations: 52.84 kB / 0.7604 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.4447, allocations: 4 kB / 0.7604 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.445, allocations: 127.3 kB / 0.7605 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.815e-06/0.445, allocations: 0 / 0.7605 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0004527/0.4455, allocations: 163.1 kB / 0.7607 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.4455, allocations: 63.41 kB / 0.7607 GB, free: 500 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.4457, allocations: 152.6 kB / 0.7609 GB, free: 344 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.4458, allocations: 33.7 kB / 0.7609 GB, free: 304 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.4459, allocations: 116.5 kB / 0.761 GB, free: 184 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.446, allocations: 43.5 kB / 0.761 GB, free: 140 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.446, allocations: 4 kB / 0.761 GB, free: 136 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4461, allocations: 334.7 kB / 0.7614 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.4463, allocations: 43.98 kB / 0.7614 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.4465, allocations: 104.8 kB / 0.7615 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.4466, allocations: 50.55 kB / 0.7616 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4466, allocations: 4 kB / 0.7616 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004454/0.4471, allocations: 177.3 kB / 0.7617 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4471, allocations: 4 kB / 0.7617 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.4472, allocations: 4 kB / 0.7617 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4472, allocations: 3.938 kB / 0.7617 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.4473, allocations: 15.98 kB / 0.7618 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.4474, allocations: 7.938 kB / 0.7618 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.4477, allocations: 44.38 kB / 0.7618 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.4478, allocations: 8 kB / 0.7618 GB, free: 15.32 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulOr0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001222/0.4479, allocations: 126.9 kB / 0.7619 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.4479, allocations: 19.81 kB / 0.762 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.042e-05/0.448, allocations: 20.75 kB / 0.762 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.448, allocations: 0 / 0.762 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4481, allocations: 0 / 0.762 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4481, allocations: 3.984 kB / 0.762 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000862/0.4489, allocations: 0.4962 MB / 0.7625 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.449, allocations: 0 / 0.7625 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.449, allocations: 15.92 kB / 0.7625 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.449, allocations: 0 / 0.7625 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.4491, allocations: 8 kB / 0.7625 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4491, allocations: 0 / 0.7625 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4491, allocations: 0 / 0.7625 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.4495, allocations: 259.3 kB / 0.7627 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.4496, allocations: 89.02 kB / 0.7628 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.4496, allocations: 11.92 kB / 0.7628 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.45, allocations: 39.95 kB / 0.7629 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.4502, allocations: 35.95 kB / 0.7629 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.4502, allocations: 4 kB / 0.7629 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000128/0.4503, allocations: 121.4 kB / 0.763 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4503, allocations: 0 / 0.763 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003629/0.4507, allocations: 32 kB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000849/0.4516, allocations: 0.8199 MB / 0.7639 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004266/0.452, allocations: 143.8 kB / 0.764 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.452, allocations: 384 / 0.764 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.4523, allocations: 86.45 kB / 0.7641 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.4528, allocations: 38.88 kB / 0.7641 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.4538, allocations: 300 kB / 0.7644 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.4542, allocations: 0.7324 MB / 0.7651 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000157/0.4544, allocations: 33.52 kB / 0.7651 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.4545, allocations: 51.42 kB / 0.7652 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of SimCode: time 1.423e-06/0.4545, allocations: 0 / 0.7652 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.4822, allocations: 3.679 MB / 0.7688 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/0.4826, allocations: 153.6 kB / 0.7689 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/2.94, allocations: 0 / 0.7689 GB, free: 7.859 MB / 0.6511 GB