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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01492/0.01492, allocations: 107.2 kB / 15.06 MB, free: 6.039 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.001789/0.001789, allocations: 181.5 kB / 15.95 MB, free: 5.957 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.069/2.069, allocations: 194.5 MB / 211.3 MB, free: 11.09 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.231/2.231, allocations: 236.2 MB / 492.6 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004816, allocations: 19.98 kB / 0.587 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5558, allocations: 98.69 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001434/0.5573, allocations: 1.071 MB / 0.6844 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004338/0.5578, allocations: 201.6 kB / 0.6846 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.5579, allocations: 1.438 kB / 0.6846 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.5579, allocations: 1.922 kB / 0.6846 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/0.558, allocations: 7.156 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.5581, allocations: 18.75 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.526e-05/0.5582, allocations: 32.97 kB / 0.6846 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.5583, allocations: 14.28 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.02e-05/0.5583, allocations: 18.28 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.5584, allocations: 24.61 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.5584, allocations: 2.531 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.5585, allocations: 2.719 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.5585, allocations: 7.641 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.5585, allocations: 38.45 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.062e-05/0.5586, allocations: 35.7 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.841e-06/0.5586, allocations: 0 / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.241e-06/0.5587, allocations: 4 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.183e-06/0.5587, allocations: 1.062 kB / 0.6848 GB, free: 15.79 MB / 0.5261 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.0004765/0.5592, allocations: 364.1 kB / 0.6851 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5592, allocations: 9.672 kB / 0.6851 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.5593, allocations: 7.188 kB / 0.6851 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.356e-05/0.5594, allocations: 180.2 kB / 0.6853 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.5594, allocations: 1.984 kB / 0.6853 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.5594, allocations: 2.656 kB / 0.6853 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.5596, allocations: 55.02 kB / 0.6854 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.423e-06/0.5596, allocations: 0.5156 kB / 0.6854 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.5596, allocations: 0 / 0.6854 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-06/0.5596, allocations: 1.031 kB / 0.6854 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.408e-05/0.5597, allocations: 24.59 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.5601, allocations: 289.9 kB / 0.6857 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.5603, allocations: 46.81 kB / 0.6857 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.5603, allocations: 1.344 kB / 0.6857 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.5605, allocations: 73.19 kB / 0.6858 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/0.5605, allocations: 0 / 0.6858 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002559/0.5608, allocations: 94.28 kB / 0.6859 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.5608, allocations: 58.53 kB / 0.6859 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.5609, allocations: 122.2 kB / 0.6861 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.5609, allocations: 27.14 kB / 0.6861 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.561, allocations: 91.23 kB / 0.6862 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.561, allocations: 14.5 kB / 0.6862 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-06/0.561, allocations: 1 kB / 0.6862 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.5611, allocations: 318.5 kB / 0.6865 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.5612, allocations: 22.05 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.928e-05/0.5612, allocations: 35.66 kB / 0.6865 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.293e-05/0.5613, allocations: 12.47 kB / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.972e-06/0.5613, allocations: 0 / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001609/0.5615, allocations: 79.03 kB / 0.6866 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5615, allocations: 5.062 kB / 0.6866 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.996e-06/0.5615, allocations: 1.469 kB / 0.6866 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5615, allocations: 6.125 kB / 0.6866 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.5616, allocations: 8.703 kB / 0.6867 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.997e-06/0.5616, allocations: 1.5 kB / 0.6867 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.5618, allocations: 21.91 kB / 0.6867 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.5618, allocations: 7.203 kB / 0.6867 GB, free: 13.97 MB / 0.5261 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 7.36e-05/0.5619, allocations: 114.3 kB / 0.6868 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.5619, allocations: 11.77 kB / 0.6868 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.5619, allocations: 10.34 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.761e-06/0.5619, allocations: 0.625 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.33e-06/0.562, allocations: 1.25 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.562, allocations: 0.7031 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.5621, allocations: 180.5 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-06/0.5621, allocations: 0 / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.361e-05/0.5622, allocations: 1.781 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.793e-06/0.5622, allocations: 1.406 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.5622, allocations: 0.7031 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.586e-06/0.5622, allocations: 5.312 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.359e-06/0.5622, allocations: 4.797 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.5624, allocations: 103.6 kB / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.5624, allocations: 79.83 kB / 0.6872 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.5625, allocations: 6.109 kB / 0.6872 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.5626, allocations: 12.86 kB / 0.6872 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.5627, allocations: 20.19 kB / 0.6872 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.805e-06/0.5627, allocations: 6.188 kB / 0.6872 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.949e-05/0.5628, allocations: 89.16 kB / 0.6873 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.07e-07/0.5628, allocations: 0 / 0.6873 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002653/0.563, allocations: 11.17 kB / 0.6873 GB, free: 13.34 MB / 0.5261 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.0001136/0.5632, allocations: 106.9 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.5633, allocations: 50.66 kB / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.463e-06/0.5634, allocations: 5.094 kB / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.498e-05/0.5634, allocations: 24.59 kB / 0.6875 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.5637, allocations: 23.53 kB / 0.6875 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.5641, allocations: 169.1 kB / 0.6877 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.5642, allocations: 0.6936 MB / 0.6884 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.49e-05/0.5643, allocations: 5.359 kB / 0.6884 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.5643, allocations: 11.25 kB / 0.6884 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.52e-06/0.5643, allocations: 0 / 0.6884 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.003593/0.5679, allocations: 0.7462 MB / 0.6891 GB, free: 12.29 MB / 0.5261 GB