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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.099/4.099, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.357e-05, allocations: 5.594 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2263, allocations: 98.74 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2343/0.4607, allocations: 123.9 MB / 0.7499 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.4611, allocations: 71.95 kB / 0.75 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009389/0.4705, allocations: 2.126 MB / 0.752 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4705, allocations: 4 kB / 0.752 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.4706, allocations: 4 kB / 0.752 GB, free: 10.91 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.001014/0.4716, allocations: 470.5 kB / 0.7525 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4717, allocations: 8.031 kB / 0.7525 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.4717, allocations: 19.95 kB / 0.7525 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.4721, allocations: 223.6 kB / 0.7527 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.4721, allocations: 4 kB / 0.7527 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.4722, allocations: 8 kB / 0.7527 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003045/0.4725, allocations: 91.91 kB / 0.7528 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.4728, allocations: 139.3 kB / 0.753 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4729, allocations: 0 / 0.753 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.4729, allocations: 7.984 kB / 0.753 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.4729, allocations: 0 / 0.753 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.4744, allocations: 0.5674 MB / 0.7535 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.4748, allocations: 203.6 kB / 0.7537 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.475, allocations: 53.12 kB / 0.7538 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.475, allocations: 11.94 kB / 0.7538 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.4754, allocations: 120 kB / 0.7539 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 3.126e-06/0.4754, allocations: 0 / 0.7539 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0004462/0.4758, allocations: 151.3 kB / 0.754 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.4759, allocations: 55.41 kB / 0.7541 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.4761, allocations: 152.8 kB / 0.7542 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.4762, allocations: 29.64 kB / 0.7543 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.4763, allocations: 124.5 kB / 0.7544 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.4763, allocations: 35.52 kB / 0.7544 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.4764, allocations: 96 / 0.7544 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4765, allocations: 334.7 kB / 0.7547 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.4767, allocations: 43.98 kB / 0.7548 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.4768, allocations: 93.94 kB / 0.7549 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.477, allocations: 39.97 kB / 0.7549 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.477, allocations: 0 / 0.7549 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003915/0.4774, allocations: 163.4 kB / 0.7551 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.4774, allocations: 9.906 kB / 0.7551 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4774, allocations: 4 kB / 0.7551 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4775, allocations: 4 kB / 0.7551 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.4776, allocations: 19.92 kB / 0.7551 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.4776, allocations: 4 kB / 0.7551 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.478, allocations: 35.97 kB / 0.7551 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.478, allocations: 8 kB / 0.7551 GB, free: 7.48 MB / 0.6355 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.0001414/0.4782, allocations: 130.8 kB / 0.7553 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000356/0.4785, allocations: 148.3 kB / 0.7554 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.4786, allocations: 15.81 kB / 0.7554 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.154e-05/0.4787, allocations: 20.73 kB / 0.7554 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4787, allocations: 3.938 kB / 0.7554 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4787, allocations: 4 kB / 0.7554 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.4787, allocations: 7.984 kB / 0.7555 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008383/0.4795, allocations: 458.9 kB / 0.7559 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4796, allocations: 0 / 0.7559 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.4796, allocations: 8 kB / 0.7559 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.4796, allocations: 4 kB / 0.7559 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.4797, allocations: 0 / 0.7559 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4797, allocations: 0 / 0.7559 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4797, allocations: 4 kB / 0.7559 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.4801, allocations: 255.2 kB / 0.7562 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.4802, allocations: 88.92 kB / 0.7562 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.4802, allocations: 3.984 kB / 0.7562 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.4806, allocations: 35.97 kB / 0.7563 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.4807, allocations: 31.95 kB / 0.7563 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.4808, allocations: 7.984 kB / 0.7563 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001308/0.4809, allocations: 107.3 kB / 0.7564 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4809, allocations: 0 / 0.7564 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004031/0.4813, allocations: 35.98 kB / 0.7564 GB, free: 6.055 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: 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.0008355/0.4822, allocations: 0.7967 MB / 0.7572 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.4826, allocations: 127.8 kB / 0.7573 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4826, allocations: 3.938 kB / 0.7574 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.4828, allocations: 63.94 kB / 0.7574 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.4834, allocations: 52.22 kB / 0.7575 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.4844, allocations: 273.5 kB / 0.7577 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.4848, allocations: 0.7321 MB / 0.7584 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.485, allocations: 37.83 kB / 0.7585 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.4852, allocations: 55.42 kB / 0.7585 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/0.4852, allocations: 0 / 0.7585 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04117/0.5264, allocations: 3.291 MB / 0.7617 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/0.5267, allocations: 153.2 kB / 0.7619 GB, free: 388 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/2.985, allocations: 4 kB / 0.7619 GB, free: 384 kB / 0.6355 GB