Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.978/3.978, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.432e-05/3.439e-05, allocations: 11.98 kB / 0.5325 GB, free: 1.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5877/0.5877, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1921/0.7799, allocations: 123.6 MB / 0.7496 GB, free: 4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.7801, allocations: 71.8 kB / 0.7497 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003161/0.7833, allocations: 0.9005 MB / 0.7505 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.13e-06/0.7834, allocations: 0 / 0.7505 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.7834, allocations: 0 / 0.7505 GB, free: 3.031 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.0005035/0.7839, allocations: 353.3 kB / 0.7509 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.7839, allocations: 16.02 kB / 0.7509 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.784, allocations: 7.906 kB / 0.7509 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.7842, allocations: 182.9 kB / 0.7511 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.7842, allocations: 4 kB / 0.7511 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.7843, allocations: 3.984 kB / 0.7511 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.956e-05/0.7844, allocations: 16 kB / 0.7511 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.7845, allocations: 49.69 kB / 0.7512 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.7845, allocations: 0 / 0.7512 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.7845, allocations: 0 / 0.7512 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-06/0.7845, allocations: 0 / 0.7512 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.785, allocations: 265.3 kB / 0.7514 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.7852, allocations: 42.52 kB / 0.7514 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.7852, allocations: 16.98 kB / 0.7515 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.7852, allocations: 0 / 0.7515 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.7854, allocations: 71.39 kB / 0.7515 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.428e-06/0.7854, allocations: 0 / 0.7515 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002101/0.7856, allocations: 73.67 kB / 0.7516 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.7857, allocations: 55.41 kB / 0.7517 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.7858, allocations: 112.8 kB / 0.7518 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.7859, allocations: 25.7 kB / 0.7518 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.7859, allocations: 88.14 kB / 0.7519 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.786, allocations: 11.81 kB / 0.7519 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-06/0.786, allocations: 4 kB / 0.7519 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.7862, allocations: 318.8 kB / 0.7522 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.7862, allocations: 12 kB / 0.7522 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.736e-05/0.7863, allocations: 38.52 kB / 0.7522 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/0.7863, allocations: 11.98 kB / 0.7522 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.684e-06/0.7864, allocations: 3.938 kB / 0.7523 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001692/0.7865, allocations: 77.61 kB / 0.7523 GB, free: 1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.7866, allocations: 4 kB / 0.7523 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.974e-06/0.7866, allocations: 0 / 0.7523 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7866, allocations: 4 kB / 0.7523 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/0.7867, allocations: 4 kB / 0.7523 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.474e-06/0.7867, allocations: 3.938 kB / 0.7523 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.7868, allocations: 15.98 kB / 0.7524 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.7868, allocations: 3.953 kB / 0.7524 GB, free: 0.9648 MB / 0.6198 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.595e-05/0.787, allocations: 109 kB / 0.7525 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.787, allocations: 7.906 kB / 0.7525 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.787, allocations: 16.59 kB / 0.7525 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.017e-06/0.787, allocations: 4 kB / 0.7525 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.11e-06/0.7871, allocations: 0 / 0.7525 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.979e-06/0.7871, allocations: 0 / 0.7525 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.7873, allocations: 154.2 kB / 0.7526 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.618e-06/0.7873, allocations: 0 / 0.7526 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.7873, allocations: 3.984 kB / 0.7526 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.7873, allocations: 4 kB / 0.7526 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.029e-06/0.7873, allocations: 0 / 0.7526 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.287e-06/0.7874, allocations: 4 kB / 0.7527 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.606e-06/0.7874, allocations: 0 / 0.7527 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.7876, allocations: 100.9 kB / 0.7527 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.7876, allocations: 77.11 kB / 0.7528 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.7877, allocations: 3.984 kB / 0.7528 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.7878, allocations: 19.98 kB / 0.7528 GB, free: 400 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.7879, allocations: 11.98 kB / 0.7529 GB, free: 388 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.759e-06/0.7879, allocations: 0 / 0.7529 GB, free: 388 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.047e-05/0.788, allocations: 87.28 kB / 0.7529 GB, free: 300 kB / 0.6198 GB Notification: Performance of sort global known variables: time 6.95e-07/0.788, allocations: 0 / 0.7529 GB, free: 300 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002645/0.7882, allocations: 15.98 kB / 0.753 GB, free: 284 kB / 0.6198 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.0001467/0.7884, allocations: 96.19 kB / 0.753 GB, free: 176 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.7886, allocations: 52.7 kB / 0.7531 GB, free: 124 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.137e-06/0.7886, allocations: 0 / 0.7531 GB, free: 124 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/0.7887, allocations: 20 kB / 0.7531 GB, free: 104 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.7889, allocations: 28 kB / 0.7531 GB, free: 76 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.7893, allocations: 90.16 kB / 0.7532 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.7896, allocations: 0.6924 MB / 0.7539 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.729e-05/0.7897, allocations: 11.77 kB / 0.7539 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.7897, allocations: 11.44 kB / 0.7539 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of SimCode: time 1.48e-06/0.7898, allocations: 0 / 0.7539 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.003529/0.7933, allocations: 0.7249 MB / 0.7546 GB, free: 14.5 MB / 0.6355 GB