Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.763/4.763, allocations: 0.5623 GB / 0.5775 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002454/0.002453, allocations: 356.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.257/4.257, allocations: 410.7 MB / 1.113 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002531/0.002531, allocations: 173.2 kB / 1.226 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004908, allocations: 12 kB / 1.349 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7166, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2196/0.9362, allocations: 137.9 MB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.9365, allocations: 76.73 kB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01311/0.9497, allocations: 2.929 MB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9497, allocations: 1.156 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.9497, allocations: 4 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000441/0.9502, allocations: 412 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.9502, allocations: 11.62 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.9503, allocations: 11.91 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.909e-05/0.9504, allocations: 178.8 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.9504, allocations: 12.61 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.9505, allocations: 8.719 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.9506, allocations: 49.69 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9507, allocations: 1.062 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.9507, allocations: 0 / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9507, allocations: 0 / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.894e-05/0.9508, allocations: 16.98 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.9513, allocations: 359.2 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.042e-05/0.9514, allocations: 30.56 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.9514, allocations: 16.86 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.9514, allocations: 1.062 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.9516, allocations: 88.95 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.9516, allocations: 3.938 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0002929/0.9519, allocations: 105.9 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.952, allocations: 52.25 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.9521, allocations: 125.9 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.9521, allocations: 30.36 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.9522, allocations: 92.94 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.9522, allocations: 11.81 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.9523, allocations: 5.25 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.9523, allocations: 322.8 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.9525, allocations: 56.62 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.9528, allocations: 97.34 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.953, allocations: 113.1 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.953, allocations: 0.5 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005781/0.9536, allocations: 267.4 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.9536, allocations: 73.27 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.9537, allocations: 80 / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.9537, allocations: 0 / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.513e-05/0.9537, allocations: 4 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.9537, allocations: 7.922 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005891/0.9543, allocations: 81.11 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.9544, allocations: 15.98 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001066/0.9545, allocations: 122.6 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.9545, allocations: 0 / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.9546, allocations: 13.59 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.9546, allocations: 64 / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.9546, allocations: 4 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9546, allocations: 6.828 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.9548, allocations: 173.6 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9548, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.9548, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.9548, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.9548, allocations: 7.984 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.9548, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9548, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.955, allocations: 122.8 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.9551, allocations: 82.38 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.9551, allocations: 4 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.496e-05/0.9551, allocations: 5.062 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.9552, allocations: 7.984 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.9552, allocations: 0.9688 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.9553, allocations: 91.27 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9553, allocations: 1.281 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003134/0.9556, allocations: 43.94 kB / 1.602 GB, free: 139.7 MB / 0.8542 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,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.0001564/0.9558, allocations: 113.8 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004232/0.9562, allocations: 251.3 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9562, allocations: 1.75 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.91e-05/0.9563, allocations: 31.92 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.9566, allocations: 20.91 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.957, allocations: 157.6 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.9571, allocations: 0.6936 MB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.9572, allocations: 4 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.9572, allocations: 19.92 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/0.9572, allocations: 0 / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.005318/0.9625, allocations: 1.698 MB / 1.605 GB, free: 136.8 MB / 0.8542 GB