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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01069/0.0107, allocations: 106.9 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001129/0.001129, allocations: 182 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.099/2.099, allocations: 194.5 MB / 211.2 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.4/2.4, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005192, allocations: 20 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6499/0.6504, allocations: 98.72 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2216/0.8721, allocations: 124.3 MB / 0.8048 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.8724, allocations: 79.92 kB / 0.8049 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003561/0.876, allocations: 0.8969 MB / 0.8058 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8761, allocations: 0 / 0.8058 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.8761, allocations: 4 kB / 0.8058 GB, free: 0.8477 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.0006348/0.8768, allocations: 367.2 kB / 0.8062 GB, free: 452 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.8768, allocations: 12.03 kB / 0.8062 GB, free: 440 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.8769, allocations: 30.56 kB / 0.8062 GB, free: 400 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.8769, allocations: 11.91 kB / 0.8062 GB, free: 388 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.8771, allocations: 179 kB / 0.8064 GB, free: 168 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.8771, allocations: 4 kB / 0.8064 GB, free: 164 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.8772, allocations: 7.984 kB / 0.8064 GB, free: 156 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.8773, allocations: 45.69 kB / 0.8064 GB, free: 104 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8773, allocations: 4 kB / 0.8064 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.8774, allocations: 0 / 0.8064 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.8774, allocations: 0 / 0.8064 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.902e-05/0.8775, allocations: 27.92 kB / 0.8065 GB, free: 72 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.878, allocations: 288.8 kB / 0.8067 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.8782, allocations: 42.56 kB / 0.8068 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.8782, allocations: 4 kB / 0.8068 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.8784, allocations: 71.45 kB / 0.8068 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.8784, allocations: 0 / 0.8068 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002971/0.8787, allocations: 93.64 kB / 0.8069 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.8788, allocations: 59.36 kB / 0.807 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.8789, allocations: 109 kB / 0.8071 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.879, allocations: 25.7 kB / 0.8071 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.879, allocations: 84.14 kB / 0.8072 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.879, allocations: 15.8 kB / 0.8072 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.8791, allocations: 4 kB / 0.8072 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8792, allocations: 310.8 kB / 0.8075 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.636e-05/0.8793, allocations: 23.92 kB / 0.8075 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.8793, allocations: 38.52 kB / 0.8076 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.096e-05/0.8794, allocations: 20.61 kB / 0.8076 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8794, allocations: 0 / 0.8076 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001797/0.8796, allocations: 81.52 kB / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.8796, allocations: 8 kB / 0.8077 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.8796, allocations: 0 / 0.8077 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8797, allocations: 4.062 kB / 0.8077 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.8798, allocations: 4 kB / 0.8077 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.8798, allocations: 12 kB / 0.8077 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.8799, allocations: 15.94 kB / 0.8077 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.88, allocations: 4 kB / 0.8077 GB, free: 14.65 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 () * Number of clocked 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.0001008/0.8801, allocations: 117.8 kB / 0.8078 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.8801, allocations: 7.906 kB / 0.8078 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.8802, allocations: 16.36 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.8802, allocations: 0 / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.8802, allocations: 0 / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.8802, allocations: 0 / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.8804, allocations: 181.6 kB / 0.808 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.8804, allocations: 0 / 0.808 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.8805, allocations: 4 kB / 0.808 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.8805, allocations: 0 / 0.808 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.8805, allocations: 3.938 kB / 0.808 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.8805, allocations: 0 / 0.808 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.8805, allocations: 0 / 0.808 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.8807, allocations: 109 kB / 0.8081 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.8808, allocations: 89.02 kB / 0.8082 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.8808, allocations: 0 / 0.8082 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.881, allocations: 19.98 kB / 0.8082 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.8811, allocations: 7.984 kB / 0.8083 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.8811, allocations: 7.984 kB / 0.8083 GB, free: 14 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.069e-05/0.8812, allocations: 91.28 kB / 0.8083 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8812, allocations: 0 / 0.8083 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002459/0.8814, allocations: 12 kB / 0.8084 GB, free: 13.89 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 () * Number of clocked 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.0004918/0.8819, allocations: 0.6365 MB / 0.809 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.8821, allocations: 51.97 kB / 0.809 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8821, allocations: 0 / 0.809 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.635e-05/0.8822, allocations: 27.92 kB / 0.8091 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.8825, allocations: 16.12 kB / 0.8091 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.8836, allocations: 0.7846 MB / 0.8098 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.8839, allocations: 0.6926 MB / 0.8105 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.176e-05/0.884, allocations: 11.97 kB / 0.8105 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.884, allocations: 15.44 kB / 0.8105 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of SimCode: time 3.606e-06/0.884, allocations: 0 / 0.8105 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.9042, allocations: 1.6 MB / 0.8121 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003591/0.9047, allocations: 185.2 kB / 0.8123 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.143, allocations: 4 kB / 0.8123 GB, free: 9.82 MB / 0.6355 GB