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.Xor.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.Xor,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.235/4.235, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.672e-05, allocations: 5.594 kB / 0.5325 GB, free: 12.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2247, allocations: 98.73 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2484/0.4732, allocations: 123.6 MB / 0.7496 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000406/0.4737, allocations: 75.94 kB / 0.7496 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005555/0.4793, allocations: 0.9031 MB / 0.7505 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4794, allocations: 0 / 0.7505 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.4794, allocations: 0 / 0.7505 GB, free: 12.42 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.0008403/0.4803, allocations: 362.5 kB / 0.7509 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/0.4803, allocations: 12.03 kB / 0.7509 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.4804, allocations: 15.86 kB / 0.7509 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.4807, allocations: 167 kB / 0.7511 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.4807, allocations: 0 / 0.7511 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.4808, allocations: 7.984 kB / 0.7511 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001618/0.481, allocations: 23.94 kB / 0.7511 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.4812, allocations: 45.67 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4812, allocations: 0 / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.4812, allocations: 4 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.4813, allocations: 0 / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/0.482, allocations: 257.4 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.4822, allocations: 42.56 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.397e-05/0.4823, allocations: 20.98 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.4823, allocations: 3.938 kB / 0.7515 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.4826, allocations: 71.36 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.348e-06/0.4827, allocations: 4 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003266/0.483, allocations: 61.69 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.4831, allocations: 59.36 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.4833, allocations: 108.9 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.4833, allocations: 25.7 kB / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.4834, allocations: 84.14 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.4835, allocations: 15.81 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.4835, allocations: 7.938 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.4838, allocations: 318.8 kB / 0.7522 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.4839, allocations: 15.94 kB / 0.7522 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.484, allocations: 30.58 kB / 0.7522 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.813e-05/0.4841, allocations: 12 kB / 0.7522 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4841, allocations: 192 / 0.7522 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002773/0.4844, allocations: 73.61 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.4845, allocations: 11.94 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4845, allocations: 0 / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4845, allocations: 0 / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4847, allocations: 7.984 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.4847, allocations: 0 / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.485, allocations: 19.94 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.485, allocations: 4.469 kB / 0.7523 GB, free: 10.35 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,xor1.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.0001438/0.4852, allocations: 113.7 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002549/0.4855, allocations: 73.58 kB / 0.7525 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.4855, allocations: 7.906 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.4856, allocations: 8.625 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4856, allocations: 0 / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.4857, allocations: 3.953 kB / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4857, allocations: 3.984 kB / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.486, allocations: 150.2 kB / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.486, allocations: 0 / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.486, allocations: 4 kB / 0.7527 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.4861, allocations: 0 / 0.7527 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.4861, allocations: 4 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/0.4861, allocations: 4 kB / 0.7527 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.557e-06/0.4861, allocations: 3.984 kB / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.4864, allocations: 97.02 kB / 0.7528 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.4865, allocations: 81.02 kB / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.4866, allocations: 0 / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.4868, allocations: 19.98 kB / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.824e-05/0.4869, allocations: 15.97 kB / 0.7529 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.487, allocations: 0 / 0.7529 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001002/0.4871, allocations: 87.28 kB / 0.753 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.31e-07/0.4871, allocations: 3.938 kB / 0.753 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004277/0.4876, allocations: 12 kB / 0.753 GB, free: 9.582 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,xor1.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.0007481/0.4883, allocations: 0.6408 MB / 0.7536 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.4886, allocations: 39.98 kB / 0.7537 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4886, allocations: 0 / 0.7537 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.4888, allocations: 23.94 kB / 0.7537 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.4892, allocations: 20.11 kB / 0.7537 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.4899, allocations: 117.6 kB / 0.7538 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.4903, allocations: 0.6885 MB / 0.7545 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.649e-05/0.4904, allocations: 11.77 kB / 0.7545 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.312e-05/0.4905, allocations: 23.36 kB / 0.7545 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of SimCode: time 1.473e-06/0.4905, allocations: 0 / 0.7545 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03648/0.527, allocations: 1.283 MB / 0.7558 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/0.5274, allocations: 142 kB / 0.7559 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/2.804, allocations: 4 kB / 0.7559 GB, free: 6.461 MB / 0.6355 GB