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.Or.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.Or,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.123/4.123, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.275e-05, allocations: 10.14 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.231, allocations: 98.74 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.4618, allocations: 123.6 MB / 0.7496 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.4621, allocations: 71.95 kB / 0.7496 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003518/0.4657, allocations: 0.8953 MB / 0.7505 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4657, allocations: 0 / 0.7505 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.4657, allocations: 0 / 0.7505 GB, free: 12.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005664/0.4663, allocations: 359 kB / 0.7509 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.4664, allocations: 8.031 kB / 0.7509 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.4664, allocations: 11.86 kB / 0.7509 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.4666, allocations: 171 kB / 0.751 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4666, allocations: 4 kB / 0.751 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.4667, allocations: 0 / 0.751 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/0.4668, allocations: 23.92 kB / 0.7511 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.4669, allocations: 57.67 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4669, allocations: 0 / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.467, allocations: 0 / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.467, allocations: 0 / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.4675, allocations: 249.4 kB / 0.7514 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.4676, allocations: 46.56 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.4677, allocations: 20.97 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.4677, allocations: 3.938 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.4679, allocations: 67.3 kB / 0.7515 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.4679, allocations: 0 / 0.7515 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002207/0.4681, allocations: 65.75 kB / 0.7516 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.4682, allocations: 59.36 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4683, allocations: 108.9 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.4683, allocations: 25.7 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.4684, allocations: 92.12 kB / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.4685, allocations: 7.812 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.4685, allocations: 7.938 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4686, allocations: 318.8 kB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.4687, allocations: 19.88 kB / 0.7522 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.4688, allocations: 30.58 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.172e-05/0.4688, allocations: 16 kB / 0.7522 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4688, allocations: 0 / 0.7522 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001605/0.469, allocations: 65.61 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.469, allocations: 8 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4691, allocations: 0 / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4691, allocations: 0 / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.4692, allocations: 11.98 kB / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4692, allocations: 4 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.4693, allocations: 20 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.4694, allocations: 4 kB / 0.7523 GB, free: 10.37 MB / 0.6355 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.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 9.018e-05/0.4695, allocations: 108.4 kB / 0.7524 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001487/0.4696, allocations: 69.59 kB / 0.7525 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.4697, allocations: 3.906 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.4697, allocations: 12.62 kB / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4697, allocations: 0 / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4697, allocations: 7.953 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.4698, allocations: 4 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.4699, allocations: 150.2 kB / 0.7527 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.47, allocations: 4 kB / 0.7527 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.47, allocations: 0 / 0.7527 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.47, allocations: 0 / 0.7527 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.47, allocations: 0 / 0.7527 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.47, allocations: 0 / 0.7527 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.47, allocations: 4 kB / 0.7527 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.4702, allocations: 101.5 kB / 0.7528 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.4703, allocations: 85.02 kB / 0.7528 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.4703, allocations: 0 / 0.7528 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.4705, allocations: 11.98 kB / 0.7529 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.4706, allocations: 11.98 kB / 0.7529 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4706, allocations: 4 kB / 0.7529 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.877e-05/0.4707, allocations: 95.33 kB / 0.753 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4707, allocations: 4 kB / 0.753 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002667/0.4709, allocations: 8 kB / 0.753 GB, free: 9.617 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.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.0005385/0.4715, allocations: 0.6282 MB / 0.7536 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.4717, allocations: 39.92 kB / 0.7536 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4717, allocations: 8.062 kB / 0.7536 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.793e-05/0.4718, allocations: 31.92 kB / 0.7537 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.472, allocations: 4 kB / 0.7537 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.4725, allocations: 121.6 kB / 0.7538 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.4728, allocations: 0.6885 MB / 0.7545 GB, free: 8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.968e-05/0.4729, allocations: 11.77 kB / 0.7545 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.4729, allocations: 23.44 kB / 0.7545 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of SimCode: time 7.91e-07/0.473, allocations: 0 / 0.7545 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.5072, allocations: 1.273 MB / 0.7557 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/0.5076, allocations: 144.2 kB / 0.7559 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/2.862, allocations: 0 / 0.7559 GB, free: 6.516 MB / 0.6355 GB