Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01025/0.01026, allocations: 88.41 kB / 15.04 MB, free: 6.062 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001155/0.001155, allocations: 170.8 kB / 15.92 MB, free: 6.008 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.015/2.015, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.379/2.379, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004698, allocations: 10.81 kB / 0.6243 GB, free: 21.1 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2733, allocations: 106.2 MB / 0.7281 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001879/0.2753, allocations: 1.086 MB / 0.7291 GB, free: 7.012 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005264/0.2758, allocations: 198 kB / 0.7293 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.2759, allocations: 0 / 0.7293 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.2759, allocations: 3.984 kB / 0.7293 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.764e-05/0.276, allocations: 11.98 kB / 0.7293 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.2761, allocations: 19.86 kB / 0.7294 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.111e-05/0.2763, allocations: 31.95 kB / 0.7294 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.2764, allocations: 19.97 kB / 0.7294 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/0.2764, allocations: 15.94 kB / 0.7294 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.2765, allocations: 19.91 kB / 0.7294 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.2765, allocations: 7.938 kB / 0.7295 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.2766, allocations: 0 / 0.7295 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.2766, allocations: 7.984 kB / 0.7295 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.2766, allocations: 37.64 kB / 0.7295 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.532e-05/0.2767, allocations: 39.91 kB / 0.7295 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2768, allocations: 0 / 0.7295 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2768, allocations: 0 / 0.7295 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.2768, allocations: 0 / 0.7295 GB, free: 6.598 MB / 0.5573 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.0006733/0.2775, allocations: 371.5 kB / 0.7299 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2775, allocations: 8.031 kB / 0.7299 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.2776, allocations: 30.56 kB / 0.7299 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.2776, allocations: 4 kB / 0.7299 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.2778, allocations: 178.9 kB / 0.7301 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2778, allocations: 8 kB / 0.7301 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.2778, allocations: 0 / 0.7301 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.278, allocations: 57.62 kB / 0.7302 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.278, allocations: 0 / 0.7302 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.278, allocations: 3.984 kB / 0.7302 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.278, allocations: 0 / 0.7302 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.2782, allocations: 24 kB / 0.7302 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.2787, allocations: 284.8 kB / 0.7305 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.2788, allocations: 50.48 kB / 0.7305 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.2789, allocations: 3.938 kB / 0.7305 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.2791, allocations: 75.56 kB / 0.7306 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.2791, allocations: 0 / 0.7306 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0002997/0.2794, allocations: 85.59 kB / 0.7307 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.2795, allocations: 67.3 kB / 0.7307 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2796, allocations: 113.8 kB / 0.7308 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.2796, allocations: 29.69 kB / 0.7309 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.2797, allocations: 88.05 kB / 0.731 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.2798, allocations: 19.83 kB / 0.731 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.2798, allocations: 0 / 0.731 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2799, allocations: 322.8 kB / 0.7313 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.28, allocations: 12 kB / 0.7313 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.2801, allocations: 42.56 kB / 0.7313 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.2801, allocations: 12.62 kB / 0.7313 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2801, allocations: 192 / 0.7313 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001877/0.2803, allocations: 81.52 kB / 0.7314 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2804, allocations: 11.94 kB / 0.7314 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2804, allocations: 0 / 0.7314 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2804, allocations: 0 / 0.7314 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.636e-05/0.2805, allocations: 12 kB / 0.7314 GB, free: 4.406 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.2805, allocations: 7.953 kB / 0.7315 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.2807, allocations: 11.98 kB / 0.7315 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2807, allocations: 4 kB / 0.7315 GB, free: 4.383 MB / 0.5573 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.0001122/0.2808, allocations: 121.8 kB / 0.7316 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.2808, allocations: 7.906 kB / 0.7316 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.2809, allocations: 8.375 kB / 0.7316 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2809, allocations: 4 kB / 0.7316 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.2809, allocations: 0 / 0.7316 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2809, allocations: 3.953 kB / 0.7316 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.2811, allocations: 177.6 kB / 0.7318 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2811, allocations: 0 / 0.7318 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.2812, allocations: 7.938 kB / 0.7318 GB, free: 4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2812, allocations: 0 / 0.7318 GB, free: 4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2812, allocations: 0 / 0.7318 GB, free: 4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2812, allocations: 0 / 0.7318 GB, free: 4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2812, allocations: 3.938 kB / 0.7318 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.2814, allocations: 113 kB / 0.7319 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.2815, allocations: 77.11 kB / 0.732 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.2815, allocations: 0 / 0.732 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2817, allocations: 15.98 kB / 0.732 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.2818, allocations: 15.97 kB / 0.732 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2818, allocations: 4 kB / 0.732 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.299e-05/0.2819, allocations: 91.27 kB / 0.7321 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2819, allocations: 0 / 0.7321 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002985/0.2822, allocations: 12 kB / 0.7321 GB, free: 3.637 MB / 0.5573 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.0005489/0.2827, allocations: 0.6481 MB / 0.7327 GB, free: 2.961 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.2829, allocations: 55.89 kB / 0.7328 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2829, allocations: 0 / 0.7328 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.283, allocations: 20 kB / 0.7328 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2833, allocations: 15.98 kB / 0.7328 GB, free: 2.871 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.2844, allocations: 0.7799 MB / 0.7336 GB, free: 2.031 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2848, allocations: 0.6926 MB / 0.7343 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.2848, allocations: 8 kB / 0.7343 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.2849, allocations: 19.44 kB / 0.7343 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/0.2849, allocations: 0 / 0.7343 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.3036, allocations: 1.608 MB / 0.7359 GB, free: 15.79 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.3038, allocations: 179.8 kB / 0.736 GB, free: 15.55 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.572, allocations: 7.875 kB / 0.736 GB, free: 15.54 MB / 0.573 GB