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.472/2.472, allocations: 253.1 MB / 260.6 MB, free: 7.445 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.001433/0.001433, allocations: 184.8 kB / 319.9 MB, free: 3.07 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.285/2.285, allocations: 205.6 MB / 0.5709 GB, free: 15.23 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.001467/0.001467, allocations: 86.7 kB / 0.6751 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.209e-05/4.227e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2328, allocations: 106.2 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8752/1.108, allocations: 131.4 MB / 1.017 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.108, allocations: 72.14 kB / 1.017 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003452/1.112, allocations: 0.9048 MB / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.029e-06/1.112, allocations: 0 / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.112, allocations: 3.938 kB / 1.018 GB, free: 4.977 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.0005639/1.113, allocations: 354.2 kB / 1.018 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.113, allocations: 12.02 kB / 1.018 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/1.113, allocations: 8.656 kB / 1.018 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/1.113, allocations: 178.9 kB / 1.019 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/1.113, allocations: 0 / 1.019 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/1.113, allocations: 4 kB / 1.019 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001055/1.113, allocations: 18.81 kB / 1.019 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/1.113, allocations: 48.69 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.113, allocations: 0 / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.113, allocations: 0 / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/1.113, allocations: 7.938 kB / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/1.114, allocations: 266.5 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/1.114, allocations: 39.7 kB / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/1.114, allocations: 24.84 kB / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/1.114, allocations: 0 / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/1.114, allocations: 73.67 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/1.114, allocations: 0 / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000223/1.114, allocations: 60.33 kB / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.114, allocations: 62.77 kB / 1.019 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/1.114, allocations: 100.1 kB / 1.019 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/1.115, allocations: 25.7 kB / 1.019 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/1.115, allocations: 92.03 kB / 1.019 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/1.115, allocations: 19.34 kB / 1.019 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/1.115, allocations: 0 / 1.019 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.115, allocations: 317.9 kB / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/1.115, allocations: 14.75 kB / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/1.115, allocations: 32.31 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/1.115, allocations: 15.5 kB / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.115, allocations: 4 kB / 1.02 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001587/1.115, allocations: 68.28 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.115, allocations: 5.406 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.115, allocations: 0 / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.115, allocations: 4 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/1.115, allocations: 8.812 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/1.115, allocations: 0 / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/1.115, allocations: 11.98 kB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.116, allocations: 8.062 kB / 1.02 GB, free: 3.023 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 () * 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.378e-05/1.116, allocations: 120.7 kB / 1.02 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/1.116, allocations: 3.906 kB / 1.02 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/1.116, allocations: 12.12 kB / 1.02 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.116, allocations: 0 / 1.02 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.116, allocations: 4 kB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.116, allocations: 0 / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/1.116, allocations: 161.1 kB / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/1.116, allocations: 0 / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/1.116, allocations: 7.938 kB / 1.02 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.116, allocations: 0 / 1.02 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/1.116, allocations: 4.172 kB / 1.02 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/1.116, allocations: 4 kB / 1.02 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.116, allocations: 3.938 kB / 1.02 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/1.116, allocations: 92.02 kB / 1.02 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/1.116, allocations: 85.09 kB / 1.02 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/1.116, allocations: 0 / 1.02 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/1.116, allocations: 15.98 kB / 1.02 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/1.117, allocations: 15.61 kB / 1.02 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/1.117, allocations: 0 / 1.02 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.482e-05/1.117, allocations: 95.2 kB / 1.02 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.117, allocations: 0 / 1.02 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002549/1.117, allocations: 12 kB / 1.02 GB, free: 2.348 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 () * 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.0001497/1.117, allocations: 102 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001574/1.117, allocations: 42.06 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.117, allocations: 0 / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/1.117, allocations: 23.69 kB / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/1.118, allocations: 19.81 kB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/1.118, allocations: 98.58 kB / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/1.118, allocations: 0.6925 MB / 1.021 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.241e-05/1.118, allocations: 7.859 kB / 1.021 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/1.118, allocations: 7.438 kB / 1.021 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/1.118, allocations: 0 / 1.021 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of Templates: time 0.003865/1.122, allocations: 0.722 MB / 1.022 GB, free: 0.6289 MB / 0.6355 GB