Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.345/2.345, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 185.4 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.565/2.565, allocations: 205.4 MB / 0.5766 GB, free: 21.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 101.9 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004642, allocations: 13.5 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2804/0.5074, allocations: 131.3 MB / 1.027 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5078, allocations: 75.95 kB / 1.027 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003709/0.5115, allocations: 0.9111 MB / 1.028 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.404e-06/0.5116, allocations: 0 / 1.028 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.5116, allocations: 0 / 1.028 GB, free: 13.53 MB / 0.6823 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.0006877/0.5123, allocations: 371.1 kB / 1.028 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5123, allocations: 8.031 kB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.5124, allocations: 4 kB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.5126, allocations: 178.9 kB / 1.029 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.5126, allocations: 0 / 1.029 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.5127, allocations: 4 kB / 1.029 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.5128, allocations: 65.64 kB / 1.029 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5129, allocations: 7.922 kB / 1.029 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.5129, allocations: 0 / 1.029 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.5129, allocations: 3.938 kB / 1.029 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.513, allocations: 20 kB / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.5136, allocations: 280.8 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.5137, allocations: 50.58 kB / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.5138, allocations: 0 / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.514, allocations: 75.44 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.514, allocations: 0 / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003103/0.5143, allocations: 89.66 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.5144, allocations: 55.36 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.5145, allocations: 105 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.5145, allocations: 33.7 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.5147, allocations: 88.12 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.5147, allocations: 11.81 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-06/0.5147, allocations: 3.938 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5149, allocations: 318.8 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.5149, allocations: 15.98 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.847e-05/0.515, allocations: 38.5 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.046e-05/0.5151, allocations: 16 kB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5151, allocations: 0 / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002006/0.5153, allocations: 85.52 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.5154, allocations: 5.25 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5154, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5154, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.5155, allocations: 7.938 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.5155, allocations: 4 kB / 1.03 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.5157, allocations: 24 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.5157, allocations: 4 kB / 1.03 GB, free: 11.38 MB / 0.6823 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.0001239/0.5159, allocations: 117.8 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.5159, allocations: 4 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.5159, allocations: 8.375 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.516, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.516, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.516, allocations: 11.94 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.5162, allocations: 181.5 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5162, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.5163, allocations: 4 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5163, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.5163, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5163, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5163, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.5166, allocations: 113.6 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.5166, allocations: 89.02 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.5167, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.5168, allocations: 19.98 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.5169, allocations: 11.97 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.5169, allocations: 4 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.203e-05/0.517, allocations: 87.34 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.517, allocations: 4 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002596/0.5173, allocations: 19.98 kB / 1.031 GB, free: 10.62 MB / 0.6823 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.0001585/0.5175, allocations: 96.88 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.5177, allocations: 47.92 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5177, allocations: 0 / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.5178, allocations: 23.94 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.5181, allocations: 25.22 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.5185, allocations: 166.8 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.5189, allocations: 0.6848 MB / 1.032 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.549e-05/0.519, allocations: 11.8 kB / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.519, allocations: 11.44 kB / 1.032 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/0.519, allocations: 4 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of Templates: time 0.00418/0.5232, allocations: 0.754 MB / 1.032 GB, free: 8.742 MB / 0.6823 GB