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.376/2.376, allocations: 252.6 MB / 265.2 MB, free: 5.625 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002098/0.002098, allocations: 185.4 kB / 324.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.371/2.371, allocations: 205.4 MB / 0.5753 GB, free: 10.42 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.001116/0.001115, allocations: 96.52 kB / 0.6797 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.717e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2164, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9113/1.128, allocations: 131.2 MB / 1.023 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.128, allocations: 71.45 kB / 1.023 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003517/1.132, allocations: 0.9143 MB / 1.024 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/1.132, allocations: 0 / 1.024 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.132, allocations: 0 / 1.024 GB, free: 2.41 MB / 0.6355 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.000551/1.132, allocations: 349.8 kB / 1.024 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.132, allocations: 8.031 kB / 1.024 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/1.132, allocations: 7.906 kB / 1.024 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/1.133, allocations: 182.8 kB / 1.024 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/1.133, allocations: 4 kB / 1.024 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/1.133, allocations: 0 / 1.024 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/1.133, allocations: 52.36 kB / 1.025 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.133, allocations: 3.938 kB / 1.025 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/1.133, allocations: 11.5 kB / 1.025 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/1.133, allocations: 3.938 kB / 1.025 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.411e-05/1.133, allocations: 15.5 kB / 1.025 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/1.133, allocations: 285.5 kB / 1.025 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/1.134, allocations: 42.45 kB / 1.025 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/1.134, allocations: 30.17 kB / 1.025 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/1.134, allocations: 3.984 kB / 1.025 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/1.134, allocations: 70.36 kB / 1.025 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/1.134, allocations: 0 / 1.025 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002463/1.134, allocations: 72.56 kB / 1.025 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/1.134, allocations: 59.36 kB / 1.025 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/1.134, allocations: 106 kB / 1.025 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/1.134, allocations: 32.95 kB / 1.025 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/1.134, allocations: 91.05 kB / 1.025 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/1.135, allocations: 11.53 kB / 1.025 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/1.135, allocations: 0 / 1.025 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.135, allocations: 324.5 kB / 1.026 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/1.135, allocations: 10.88 kB / 1.026 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/1.135, allocations: 32.52 kB / 1.026 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.827e-05/1.135, allocations: 19.36 kB / 1.026 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.135, allocations: 0 / 1.026 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001857/1.135, allocations: 81.7 kB / 1.026 GB, free: 444 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.135, allocations: 8 kB / 1.026 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.135, allocations: 0 / 1.026 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.135, allocations: 0 / 1.026 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/1.135, allocations: 7.938 kB / 1.026 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/1.135, allocations: 0 / 1.026 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/1.135, allocations: 24 kB / 1.026 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/1.135, allocations: 11.47 kB / 1.026 GB, free: 400 kB / 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 () * 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.0001114/1.136, allocations: 108.9 kB / 1.026 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/1.136, allocations: 7.906 kB / 1.026 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/1.136, allocations: 11.23 kB / 1.026 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.136, allocations: 4 kB / 1.026 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.136, allocations: 0 / 1.026 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.136, allocations: 4 kB / 1.026 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/1.136, allocations: 178.5 kB / 1.026 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/1.136, allocations: 0 / 1.026 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/1.136, allocations: 192 / 1.026 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.136, allocations: 0 / 1.026 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/1.136, allocations: 11.38 kB / 1.026 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.136, allocations: 0 / 1.026 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.136, allocations: 0 / 1.026 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/1.136, allocations: 106.7 kB / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/1.136, allocations: 89.09 kB / 1.026 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/1.136, allocations: 3.5 kB / 1.026 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/1.137, allocations: 11.98 kB / 1.026 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/1.137, allocations: 11.98 kB / 1.026 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/1.137, allocations: 0 / 1.026 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.301e-05/1.137, allocations: 94.39 kB / 1.026 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.9e-07/1.137, allocations: 0 / 1.026 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002478/1.137, allocations: 12 kB / 1.026 GB, free: 15.69 MB / 0.6511 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.0001579/1.137, allocations: 104.4 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001765/1.137, allocations: 42.75 kB / 1.027 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.137, allocations: 4 kB / 1.027 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/1.138, allocations: 23.88 kB / 1.027 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/1.138, allocations: 18.88 kB / 1.027 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/1.138, allocations: 104.7 kB / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/1.138, allocations: 0.6887 MB / 1.027 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.187e-05/1.139, allocations: 7.859 kB / 1.027 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/1.139, allocations: 7.438 kB / 1.027 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of SimCode: time 7.71e-07/1.139, allocations: 0 / 1.027 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of Templates: time 0.003977/1.143, allocations: 0.7747 MB / 1.028 GB, free: 13.92 MB / 0.6511 GB