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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 3.953/3.953, allocations: 432.6 MB / 445.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.867e-05/4.88e-05, allocations: 5.484 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2051, allocations: 98.74 MB / 0.6347 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/0.4341, allocations: 124.2 MB / 0.756 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4344, allocations: 71.95 kB / 0.7561 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003575/0.438, allocations: 0.9034 MB / 0.757 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4381, allocations: 0 / 0.757 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.4381, allocations: 0 / 0.757 GB, free: 4.492 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.0006067/0.4387, allocations: 356.5 kB / 0.7573 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4388, allocations: 12.03 kB / 0.7573 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.76e-05/0.4388, allocations: 30.56 kB / 0.7574 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.4389, allocations: 11.91 kB / 0.7574 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.4391, allocations: 167 kB / 0.7575 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4391, allocations: 4 kB / 0.7576 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.4391, allocations: 7.984 kB / 0.7576 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.4393, allocations: 53.67 kB / 0.7576 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4393, allocations: 0 / 0.7576 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4394, allocations: 0 / 0.7576 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4394, allocations: 0 / 0.7576 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.504e-05/0.4395, allocations: 27.94 kB / 0.7576 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.44, allocations: 284.8 kB / 0.7579 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.4402, allocations: 46.58 kB / 0.758 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.261e-05/0.4403, allocations: 20.97 kB / 0.758 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.4403, allocations: 0 / 0.758 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.4405, allocations: 79.23 kB / 0.758 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.4405, allocations: 0 / 0.758 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000241/0.4407, allocations: 77.69 kB / 0.7581 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.4408, allocations: 51.41 kB / 0.7582 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.4409, allocations: 112.8 kB / 0.7583 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.441, allocations: 29.7 kB / 0.7583 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.441, allocations: 88.12 kB / 0.7584 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.4411, allocations: 19.75 kB / 0.7584 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.4411, allocations: 0 / 0.7584 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4412, allocations: 318.8 kB / 0.7587 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.649e-05/0.4413, allocations: 19.94 kB / 0.7587 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.218e-05/0.4414, allocations: 38.55 kB / 0.7588 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.4415, allocations: 8 kB / 0.7588 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4415, allocations: 0 / 0.7588 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001892/0.4417, allocations: 85.61 kB / 0.7589 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4417, allocations: 4 kB / 0.7589 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.4417, allocations: 0 / 0.7589 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4417, allocations: 4 kB / 0.7589 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.4418, allocations: 7.984 kB / 0.7589 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4419, allocations: 7.891 kB / 0.7589 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.442, allocations: 15.98 kB / 0.7589 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.442, allocations: 4 kB / 0.7589 GB, free: 2.309 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 9.353e-05/0.4421, allocations: 113 kB / 0.759 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.4422, allocations: 7.906 kB / 0.759 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.4422, allocations: 8.625 kB / 0.759 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4422, allocations: 0 / 0.759 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4422, allocations: 4 kB / 0.759 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4423, allocations: 3.953 kB / 0.759 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.4425, allocations: 173.6 kB / 0.7592 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4425, allocations: 0 / 0.7592 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.44e-05/0.4425, allocations: 4 kB / 0.7592 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4426, allocations: 0 / 0.7592 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.4426, allocations: 7.984 kB / 0.7592 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4426, allocations: 0 / 0.7592 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4426, allocations: 0 / 0.7592 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.4428, allocations: 108.9 kB / 0.7593 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.4429, allocations: 77.11 kB / 0.7594 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.4429, allocations: 4 kB / 0.7594 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.4431, allocations: 21.8 kB / 0.7594 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.4432, allocations: 11.97 kB / 0.7594 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.4432, allocations: 4.188 kB / 0.7594 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.073e-05/0.4433, allocations: 87.83 kB / 0.7595 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4433, allocations: 7.875 kB / 0.7595 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002452/0.4435, allocations: 16 kB / 0.7595 GB, free: 1.566 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.0005484/0.4441, allocations: 0.6438 MB / 0.7602 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.4443, allocations: 44 kB / 0.7602 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4443, allocations: 0 / 0.7602 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.457e-05/0.4444, allocations: 27.92 kB / 0.7602 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.4447, allocations: 12 kB / 0.7602 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.4451, allocations: 130.8 kB / 0.7604 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.4455, allocations: 0.6887 MB / 0.761 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.187e-05/0.4455, allocations: 11.77 kB / 0.7611 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.4456, allocations: 19.44 kB / 0.7611 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of SimCode: time 9.41e-07/0.4456, allocations: 0 / 0.7611 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.4666, allocations: 1.609 MB / 0.7626 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002842/0.467, allocations: 161.2 kB / 0.7628 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/2.617, allocations: 0 / 0.7628 GB, free: 14.13 MB / 0.6511 GB