Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadModel(Buildings): time 3.984/3.984, allocations: 432.7 MB / 445.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.1e-05, allocations: 6.469 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1911, allocations: 98.73 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2051/0.3963, allocations: 124.5 MB / 0.7564 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.3965, allocations: 71.94 kB / 0.7564 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008606/0.4052, allocations: 2.144 MB / 0.7585 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.44e-06/0.4052, allocations: 4 kB / 0.7585 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.4052, allocations: 0 / 0.7585 GB, free: 2.949 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.0008259/0.4061, allocations: 470.5 kB / 0.759 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4061, allocations: 8.031 kB / 0.759 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.4062, allocations: 19.81 kB / 0.759 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.4065, allocations: 211 kB / 0.7592 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.4066, allocations: 11.98 kB / 0.7592 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.4066, allocations: 16 kB / 0.7592 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.407, allocations: 159.3 kB / 0.7594 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.407, allocations: 0 / 0.7594 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.4071, allocations: 4 kB / 0.7594 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4071, allocations: 4 kB / 0.7594 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.4073, allocations: 99.95 kB / 0.7595 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.4086, allocations: 0.6136 MB / 0.7601 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.409, allocations: 211.6 kB / 0.7603 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.4092, allocations: 52.84 kB / 0.7603 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.4092, allocations: 0 / 0.7603 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.4095, allocations: 131.3 kB / 0.7605 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.785e-06/0.4095, allocations: 4 kB / 0.7605 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0004018/0.4099, allocations: 159.2 kB / 0.7606 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.41, allocations: 59.41 kB / 0.7607 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.4102, allocations: 155.1 kB / 0.7608 GB, free: 392 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.4102, allocations: 33.7 kB / 0.7608 GB, free: 352 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.4103, allocations: 112.5 kB / 0.761 GB, free: 236 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.4104, allocations: 43.5 kB / 0.761 GB, free: 192 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.4104, allocations: 8 kB / 0.761 GB, free: 184 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.4106, allocations: 330.8 kB / 0.7613 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.4108, allocations: 47.98 kB / 0.7614 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.4109, allocations: 96.41 kB / 0.7615 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.4111, allocations: 51.84 kB / 0.7615 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.232e-06/0.4111, allocations: 0 / 0.7615 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003918/0.4115, allocations: 183.8 kB / 0.7617 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4115, allocations: 7.938 kB / 0.7617 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.727e-06/0.4115, allocations: 0 / 0.7617 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4116, allocations: 4 kB / 0.7617 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.4117, allocations: 28.11 kB / 0.7617 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.202e-06/0.4117, allocations: 0 / 0.7617 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.412, allocations: 48.17 kB / 0.7618 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.412, allocations: 7.984 kB / 0.7618 GB, free: 15.36 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.0001402/0.4122, allocations: 134.9 kB / 0.7619 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.4122, allocations: 15.81 kB / 0.7619 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.865e-05/0.4123, allocations: 16.75 kB / 0.7619 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.4123, allocations: 7.984 kB / 0.7619 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.732e-06/0.4123, allocations: 0 / 0.7619 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.151e-06/0.4124, allocations: 0 / 0.7619 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008356/0.4132, allocations: 0.4944 MB / 0.7624 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.288e-06/0.4132, allocations: 0 / 0.7624 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.4133, allocations: 8 kB / 0.7624 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.087e-06/0.4133, allocations: 0 / 0.7624 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.4133, allocations: 4 kB / 0.7624 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.786e-06/0.4133, allocations: 4 kB / 0.7624 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4133, allocations: 0 / 0.7624 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.4137, allocations: 269.2 kB / 0.7627 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.4138, allocations: 88.92 kB / 0.7628 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.4139, allocations: 3.984 kB / 0.7628 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.4142, allocations: 39.97 kB / 0.7628 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4143, allocations: 28.02 kB / 0.7629 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.4143, allocations: 15.98 kB / 0.7629 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001276/0.4145, allocations: 126.7 kB / 0.763 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.03e-07/0.4145, allocations: 0 / 0.763 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003919/0.4149, allocations: 36 kB / 0.763 GB, free: 13.99 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.0002029/0.4151, allocations: 114.9 kB / 0.7631 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.4155, allocations: 141.6 kB / 0.7633 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.611e-06/0.4155, allocations: 0 / 0.7633 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.4157, allocations: 76.3 kB / 0.7633 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.4161, allocations: 48.09 kB / 0.7634 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006981/0.4168, allocations: 256.6 kB / 0.7636 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.4173, allocations: 0.7324 MB / 0.7643 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.4174, allocations: 29.53 kB / 0.7644 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.4175, allocations: 23.44 kB / 0.7644 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of SimCode: time 1.632e-06/0.4175, allocations: 3.938 kB / 0.7644 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of Templates: time 0.006936/0.4245, allocations: 2.012 MB / 0.7664 GB, free: 10.53 MB / 0.6511 GB