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.And.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.And,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.151/4.151, allocations: 433.2 MB / 440.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.494e-05, allocations: 4 kB / 0.5325 GB, free: 1.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6045/0.6046, allocations: 98.72 MB / 0.6289 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2336/0.8383, allocations: 123.6 MB / 0.7496 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.8386, allocations: 71.94 kB / 0.7496 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003433/0.8421, allocations: 0.8813 MB / 0.7505 GB, free: 3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.837e-06/0.8421, allocations: 0 / 0.7505 GB, free: 3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.8421, allocations: 7.938 kB / 0.7505 GB, free: 2.992 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005693/0.8427, allocations: 350.5 kB / 0.7509 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.8428, allocations: 12.03 kB / 0.7509 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.8428, allocations: 7.906 kB / 0.7509 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.843, allocations: 175 kB / 0.751 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.843, allocations: 3.984 kB / 0.751 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.8431, allocations: 4 kB / 0.751 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.8432, allocations: 24 kB / 0.7511 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.8433, allocations: 41.69 kB / 0.7511 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.8433, allocations: 0 / 0.7511 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.8433, allocations: 0 / 0.7511 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.8434, allocations: 4 kB / 0.7511 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.844, allocations: 293.2 kB / 0.7514 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.8442, allocations: 42.58 kB / 0.7514 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.8442, allocations: 12.98 kB / 0.7514 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.8443, allocations: 0 / 0.7514 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.8444, allocations: 75.31 kB / 0.7515 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 5.27e-06/0.8445, allocations: 0 / 0.7515 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002323/0.8447, allocations: 69.69 kB / 0.7516 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.8448, allocations: 59.34 kB / 0.7516 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.8449, allocations: 116.8 kB / 0.7518 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.8449, allocations: 25.7 kB / 0.7518 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.845, allocations: 84.14 kB / 0.7519 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.845, allocations: 15.81 kB / 0.7519 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-06/0.8451, allocations: 0 / 0.7519 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8452, allocations: 318.8 kB / 0.7522 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.432e-05/0.8453, allocations: 12 kB / 0.7522 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.843e-05/0.8453, allocations: 26.58 kB / 0.7522 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.8454, allocations: 23.92 kB / 0.7522 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8454, allocations: 0 / 0.7522 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001575/0.8456, allocations: 65.67 kB / 0.7523 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.8456, allocations: 8 kB / 0.7523 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8456, allocations: 0 / 0.7523 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.8456, allocations: 0 / 0.7523 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.359e-05/0.8457, allocations: 7.938 kB / 0.7523 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.8457, allocations: 4 kB / 0.7523 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.8459, allocations: 16.05 kB / 0.7523 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.8459, allocations: 7.953 kB / 0.7523 GB, free: 0.9141 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000117/0.846, allocations: 107.5 kB / 0.7524 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001466/0.8462, allocations: 69.53 kB / 0.7525 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.8462, allocations: 11.91 kB / 0.7525 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.8463, allocations: 8.609 kB / 0.7525 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8463, allocations: 0 / 0.7525 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8463, allocations: 7.953 kB / 0.7525 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.8463, allocations: 0 / 0.7525 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.8465, allocations: 150.2 kB / 0.7527 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8465, allocations: 0 / 0.7527 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.271e-05/0.8465, allocations: 0 / 0.7527 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.8466, allocations: 0 / 0.7527 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.8466, allocations: 3.984 kB / 0.7527 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.8466, allocations: 4 kB / 0.7527 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8466, allocations: 0 / 0.7527 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.8468, allocations: 101.5 kB / 0.7528 GB, free: 404 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.8469, allocations: 85.02 kB / 0.7529 GB, free: 300 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.8469, allocations: 0 / 0.7529 GB, free: 300 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.847, allocations: 11.98 kB / 0.7529 GB, free: 288 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.8471, allocations: 16.11 kB / 0.7529 GB, free: 272 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.8471, allocations: 7.984 kB / 0.7529 GB, free: 264 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.8472, allocations: 99.28 kB / 0.753 GB, free: 164 kB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8472, allocations: 4 kB / 0.753 GB, free: 160 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000263/0.8475, allocations: 8 kB / 0.753 GB, free: 152 kB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005392/0.848, allocations: 0.628 MB / 0.7536 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000168/0.8482, allocations: 43.92 kB / 0.7537 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8483, allocations: 128 / 0.7537 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.8483, allocations: 24 kB / 0.7537 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.8486, allocations: 15.98 kB / 0.7537 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.8491, allocations: 113.7 kB / 0.7538 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.8494, allocations: 0.6923 MB / 0.7545 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.788e-05/0.8495, allocations: 11.77 kB / 0.7545 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.8496, allocations: 19.44 kB / 0.7545 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.8496, allocations: 0 / 0.7545 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.8878, allocations: 1.273 MB / 0.7558 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/0.8882, allocations: 138.1 kB / 0.7559 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/3.154, allocations: 4 kB / 0.7559 GB, free: 13.06 MB / 0.6355 GB