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 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.And3,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.018/4.018, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.605e-05, allocations: 4.906 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2098, allocations: 98.73 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.4362, allocations: 123.6 MB / 0.7496 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.4365, allocations: 75.94 kB / 0.7497 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004819/0.4414, allocations: 1.153 MB / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4414, allocations: 0 / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.4414, allocations: 0 / 0.7508 GB, free: 12.11 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000723/0.4421, allocations: 390.3 kB / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.4422, allocations: 8.031 kB / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.4423, allocations: 11.86 kB / 0.7512 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.4425, allocations: 179 kB / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.4425, allocations: 0 / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.4426, allocations: 4 kB / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001429/0.4427, allocations: 27.94 kB / 0.7514 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.4429, allocations: 57.67 kB / 0.7515 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4429, allocations: 0 / 0.7515 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4429, allocations: 3.938 kB / 0.7515 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.443, allocations: 0 / 0.7515 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008522/0.4438, allocations: 325.3 kB / 0.7518 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.444, allocations: 50.59 kB / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/0.4441, allocations: 20.86 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.4441, allocations: 0 / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.4443, allocations: 79.3 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.4443, allocations: 0 / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002647/0.4446, allocations: 89.56 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.4446, allocations: 55.41 kB / 0.7521 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.4448, allocations: 120.8 kB / 0.7522 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.4448, allocations: 29.7 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.4449, allocations: 84.14 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.4449, allocations: 23.7 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.445, allocations: 0 / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4451, allocations: 318.8 kB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.4452, allocations: 20 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.782e-05/0.4453, allocations: 55.36 kB / 0.7527 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.275e-05/0.4454, allocations: 12 kB / 0.7527 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4454, allocations: 0 / 0.7527 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002113/0.4456, allocations: 89.61 kB / 0.7528 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4456, allocations: 12.19 kB / 0.7528 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4456, allocations: 7.922 kB / 0.7528 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4457, allocations: 0 / 0.7528 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.4458, allocations: 15.94 kB / 0.7528 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4458, allocations: 3.953 kB / 0.7528 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.446, allocations: 23.97 kB / 0.7528 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.446, allocations: 4 kB / 0.7528 GB, free: 9.812 MB / 0.6355 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 () * 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.0001111/0.4461, allocations: 121.5 kB / 0.753 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001913/0.4463, allocations: 77.59 kB / 0.753 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.4464, allocations: 7.906 kB / 0.753 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.4464, allocations: 16.59 kB / 0.7531 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4464, allocations: 7.953 kB / 0.7531 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4465, allocations: 0 / 0.7531 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4465, allocations: 0 / 0.7531 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.4467, allocations: 162.3 kB / 0.7532 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4467, allocations: 0 / 0.7532 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.4468, allocations: 11.92 kB / 0.7532 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4468, allocations: 4 kB / 0.7532 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.4468, allocations: 0 / 0.7532 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.4468, allocations: 0 / 0.7532 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4468, allocations: 0 / 0.7532 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.4471, allocations: 120.9 kB / 0.7533 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.4471, allocations: 81.02 kB / 0.7534 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.4472, allocations: 7.938 kB / 0.7534 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.4474, allocations: 23.97 kB / 0.7535 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.4475, allocations: 15.98 kB / 0.7535 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.4475, allocations: 0 / 0.7535 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.202e-05/0.4476, allocations: 99.22 kB / 0.7536 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4476, allocations: 0 / 0.7536 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002979/0.4479, allocations: 16.19 kB / 0.7536 GB, free: 8.969 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * Number of discrete 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.000601/0.4485, allocations: 0.6484 MB / 0.7542 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.4487, allocations: 55.94 kB / 0.7543 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4487, allocations: 0 / 0.7543 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.995e-05/0.4488, allocations: 31.94 kB / 0.7543 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.4492, allocations: 28.16 kB / 0.7543 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005549/0.4497, allocations: 145.8 kB / 0.7545 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.4501, allocations: 0.6963 MB / 0.7551 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.958e-05/0.4502, allocations: 8.547 kB / 0.7551 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.284e-05/0.4503, allocations: 19.44 kB / 0.7552 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/0.4503, allocations: 4 kB / 0.7552 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03926/0.4896, allocations: 1.715 MB / 0.7568 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/0.4899, allocations: 140 kB / 0.757 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/2.836, allocations: 0 / 0.757 GB, free: 5.359 MB / 0.6355 GB