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.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.036/4.036, allocations: 433.2 MB / 440.8 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.465e-05, allocations: 5.688 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2024, allocations: 98.75 MB / 0.6289 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2677/0.4702, allocations: 123.9 MB / 0.7499 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.4705, allocations: 75.95 kB / 0.75 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009475/0.48, allocations: 2.134 MB / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4801, allocations: 0 / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.4801, allocations: 4 kB / 0.752 GB, free: 10.81 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.0009965/0.4811, allocations: 470.5 kB / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.4812, allocations: 8.031 kB / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.4812, allocations: 19.77 kB / 0.7525 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.4816, allocations: 219 kB / 0.7527 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.4816, allocations: 8 kB / 0.7527 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.4817, allocations: 8 kB / 0.7527 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000307/0.482, allocations: 87.97 kB / 0.7528 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.4823, allocations: 135.3 kB / 0.753 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4824, allocations: 3.938 kB / 0.753 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.4824, allocations: 4 kB / 0.753 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4824, allocations: 3.984 kB / 0.753 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.4839, allocations: 0.5674 MB / 0.7535 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.4843, allocations: 203.7 kB / 0.7537 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.4845, allocations: 53.12 kB / 0.7538 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.4845, allocations: 7.938 kB / 0.7538 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.4848, allocations: 123.4 kB / 0.7539 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.585e-06/0.4848, allocations: 3.938 kB / 0.7539 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0004393/0.4853, allocations: 151 kB / 0.754 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.4853, allocations: 63.39 kB / 0.7541 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.4855, allocations: 152.8 kB / 0.7542 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.4856, allocations: 29.7 kB / 0.7543 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.4857, allocations: 112.5 kB / 0.7544 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.4857, allocations: 35.5 kB / 0.7544 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.4858, allocations: 8 kB / 0.7544 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4859, allocations: 326.8 kB / 0.7547 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.4861, allocations: 47.92 kB / 0.7548 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.4862, allocations: 97.94 kB / 0.7549 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.4864, allocations: 35.97 kB / 0.7549 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4864, allocations: 4 kB / 0.7549 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003754/0.4868, allocations: 163.5 kB / 0.7551 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.4868, allocations: 5.719 kB / 0.7551 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4868, allocations: 4 kB / 0.7551 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4869, allocations: 4 kB / 0.7551 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.487, allocations: 19.92 kB / 0.7551 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.487, allocations: 4 kB / 0.7551 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.4874, allocations: 36.16 kB / 0.7551 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.4874, allocations: 8 kB / 0.7551 GB, free: 7.387 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,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.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,mulAnd0.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.0001349/0.4876, allocations: 131 kB / 0.7553 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003375/0.4879, allocations: 145.4 kB / 0.7554 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.488, allocations: 19.81 kB / 0.7554 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.488, allocations: 24.72 kB / 0.7554 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4881, allocations: 64 / 0.7554 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.4881, allocations: 8 kB / 0.7555 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4881, allocations: 0 / 0.7555 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007774/0.4889, allocations: 461.6 kB / 0.7559 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4889, allocations: 0 / 0.7559 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.4889, allocations: 4 kB / 0.7559 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.489, allocations: 0 / 0.7559 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.489, allocations: 4 kB / 0.7559 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.489, allocations: 0 / 0.7559 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.489, allocations: 4 kB / 0.7559 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.4894, allocations: 255.2 kB / 0.7562 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.88e-05/0.4895, allocations: 88.92 kB / 0.7562 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.4895, allocations: 3.984 kB / 0.7562 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.4899, allocations: 39.97 kB / 0.7563 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.49, allocations: 27.95 kB / 0.7563 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.4901, allocations: 7.984 kB / 0.7563 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001084/0.4902, allocations: 107.3 kB / 0.7564 GB, free: 6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4902, allocations: 3.938 kB / 0.7564 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004106/0.4906, allocations: 35.98 kB / 0.7565 GB, free: 5.961 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 (mulAnd5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0008045/0.4914, allocations: 0.7964 MB / 0.7572 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003638/0.4918, allocations: 127.8 kB / 0.7574 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4918, allocations: 0 / 0.7574 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.492, allocations: 64.31 kB / 0.7574 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.4926, allocations: 50.14 kB / 0.7575 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.4936, allocations: 271.6 kB / 0.7577 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.494, allocations: 0.7399 MB / 0.7584 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.4942, allocations: 33.83 kB / 0.7585 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.4944, allocations: 51.42 kB / 0.7585 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.4944, allocations: 0 / 0.7585 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/0.5391, allocations: 3.301 MB / 0.7617 GB, free: 488 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/0.5395, allocations: 150.3 kB / 0.7619 GB, free: 292 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/2.987, allocations: 0 / 0.7619 GB, free: 292 kB / 0.6355 GB