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.00967/0.009669, allocations: 110.5 kB / 15.06 MB, free: 5.965 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.001166/0.001166, allocations: 183.4 kB / 15.95 MB, free: 5.93 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.049/2.049, 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.184/2.184, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004627, allocations: 16 kB / 0.587 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6056/0.6061, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.7866, allocations: 124.3 MB / 0.8048 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.7869, allocations: 71.95 kB / 0.8048 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003095/0.79, allocations: 0.8965 MB / 0.8057 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.551e-06/0.7901, allocations: 3.938 kB / 0.8057 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.155e-06/0.7901, allocations: 4 kB / 0.8057 GB, free: 1.012 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.0005328/0.7906, allocations: 367.2 kB / 0.8061 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.7907, allocations: 12.03 kB / 0.8061 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.7907, allocations: 4 kB / 0.8061 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.7909, allocations: 178.9 kB / 0.8062 GB, free: 384 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.7909, allocations: 4 kB / 0.8063 GB, free: 380 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.7909, allocations: 0 / 0.8063 GB, free: 380 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.7911, allocations: 53.67 kB / 0.8063 GB, free: 320 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.7911, allocations: 0 / 0.8063 GB, free: 320 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.7911, allocations: 3.984 kB / 0.8063 GB, free: 316 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.97e-06/0.7911, allocations: 8 kB / 0.8063 GB, free: 308 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.7912, allocations: 27.92 kB / 0.8063 GB, free: 280 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.7918, allocations: 280.8 kB / 0.8066 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.7919, allocations: 42.58 kB / 0.8066 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.7919, allocations: 3.938 kB / 0.8067 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.7921, allocations: 83.42 kB / 0.8067 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.47e-06/0.7921, allocations: 0 / 0.8067 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002686/0.7924, allocations: 89.66 kB / 0.8068 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.7925, allocations: 59.36 kB / 0.8069 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.7926, allocations: 108.9 kB / 0.807 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.7926, allocations: 29.7 kB / 0.807 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.7927, allocations: 88.12 kB / 0.8071 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.7928, allocations: 15.81 kB / 0.8071 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.7928, allocations: 4 kB / 0.8071 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.7929, allocations: 314.8 kB / 0.8074 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/0.793, allocations: 16 kB / 0.8074 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.7931, allocations: 38.5 kB / 0.8075 GB, free: 15 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.531e-05/0.7931, allocations: 12 kB / 0.8075 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.552e-06/0.7931, allocations: 4 kB / 0.8075 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001751/0.7933, allocations: 81.52 kB / 0.8076 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.7934, allocations: 5.406 kB / 0.8076 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.7934, allocations: 4 kB / 0.8076 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7934, allocations: 0 / 0.8076 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.7935, allocations: 8 kB / 0.8076 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.239e-06/0.7935, allocations: 0 / 0.8076 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.7936, allocations: 19.94 kB / 0.8076 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.943e-06/0.7936, allocations: 4.062 kB / 0.8076 GB, free: 14.86 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.0001164/0.7938, allocations: 129.7 kB / 0.8077 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.7938, allocations: 3.906 kB / 0.8077 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.7938, allocations: 12.38 kB / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.734e-06/0.7939, allocations: 0 / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.7939, allocations: 0 / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.493e-06/0.7939, allocations: 0 / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.7941, allocations: 181.6 kB / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-06/0.7941, allocations: 0 / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.7941, allocations: 4 kB / 0.8079 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.211e-06/0.7941, allocations: 0 / 0.8079 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.7942, allocations: 4 kB / 0.8079 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-06/0.7942, allocations: 0 / 0.8079 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.571e-06/0.7942, allocations: 3.938 kB / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.7944, allocations: 101 kB / 0.808 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.7945, allocations: 85.02 kB / 0.8081 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.7945, allocations: 4 kB / 0.8081 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.7946, allocations: 19.98 kB / 0.8081 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.7947, allocations: 15.97 kB / 0.8081 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.963e-06/0.7947, allocations: 192 / 0.8081 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.731e-05/0.7948, allocations: 100 kB / 0.8082 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.69e-07/0.7948, allocations: 3.938 kB / 0.8082 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002753/0.7951, allocations: 12 kB / 0.8082 GB, free: 14.09 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.0001444/0.7953, allocations: 103.9 kB / 0.8083 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.7954, allocations: 48.14 kB / 0.8084 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.518e-06/0.7954, allocations: 0 / 0.8084 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.7955, allocations: 24 kB / 0.8084 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.7958, allocations: 15.94 kB / 0.8084 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.7962, allocations: 170.9 kB / 0.8086 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.7966, allocations: 0.6887 MB / 0.8093 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.7966, allocations: 4 kB / 0.8093 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.7967, allocations: 7.438 kB / 0.8093 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.742e-06/0.7967, allocations: 4 kB / 0.8093 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.003599/0.8003, allocations: 0.754 MB / 0.81 GB, free: 12.23 MB / 0.6355 GB