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 2.67/2.67, allocations: 287.9 MB / 302.9 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001423/0.001423, allocations: 200.5 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 82.92 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004589, allocations: 16.36 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1525, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0006982/0.1533, allocations: 392.8 kB / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1546, allocations: 1.128 MB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.1546, allocations: 0 / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.1547, allocations: 0 / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.998e-05/0.1547, allocations: 19.95 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.1554, allocations: 191.7 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1555, allocations: 87.89 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.601e-05/0.1556, allocations: 11.92 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.1557, allocations: 59.94 kB / 0.9806 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.1558, allocations: 43.88 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.1559, allocations: 8 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.1559, allocations: 23.92 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.156, allocations: 11.98 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.156, allocations: 33.7 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1562, allocations: 108 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.057e-06/0.1562, allocations: 0 / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.271e-06/0.1562, allocations: 0 / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.97e-06/0.1562, allocations: 0 / 0.9808 GB, free: 26.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003548/0.1566, allocations: 414.6 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1566, allocations: 12.02 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.1567, allocations: 19.83 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.385e-05/0.1568, allocations: 163 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.1568, allocations: 12 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.1569, allocations: 8 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.157, allocations: 49.67 kB / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.157, allocations: 0 / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.157, allocations: 4 kB / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1571, allocations: 4 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.406e-05/0.1571, allocations: 15.98 kB / 0.9815 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.1576, allocations: 360.5 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.776e-05/0.1577, allocations: 34.58 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.1577, allocations: 0 / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.1579, allocations: 91.39 kB / 0.982 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.305e-06/0.1579, allocations: 3.938 kB / 0.982 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002652/0.1582, allocations: 105.6 kB / 0.9821 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.1582, allocations: 55.41 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.1583, allocations: 122 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.1583, allocations: 29.7 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.1584, allocations: 92.31 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.1584, allocations: 15.81 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.1585, allocations: 0 / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.1585, allocations: 322.8 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.1587, allocations: 59.97 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.1589, allocations: 98.31 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1591, allocations: 115.8 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-06/0.1591, allocations: 0 / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004963/0.1596, allocations: 260.8 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/0.1597, allocations: 71.39 kB / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.639e-06/0.1597, allocations: 0 / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1597, allocations: 8.125 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.329e-05/0.1597, allocations: 0 / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1598, allocations: 8.25 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.1602, allocations: 67.94 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.1602, allocations: 23.94 kB / 0.9833 GB, free: 23.18 MB / 0.6198 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 9.724e-05/0.1604, allocations: 123.6 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.868e-05/0.1604, allocations: 7.891 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.1604, allocations: 16.36 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-06/0.1604, allocations: 0 / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.113e-06/0.1604, allocations: 4 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-06/0.1605, allocations: 0 / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.1606, allocations: 181.6 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-06/0.1606, allocations: 0 / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.217e-05/0.1606, allocations: 4 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.069e-06/0.1606, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.1607, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1607, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1607, allocations: 3.984 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1608, allocations: 124.8 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.1609, allocations: 85.02 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.1609, allocations: 0 / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.348e-05/0.161, allocations: 7.984 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.161, allocations: 7.984 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.946e-06/0.161, allocations: 4 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.1611, allocations: 91.22 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.3e-07/0.1611, allocations: 0 / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000317/0.1614, allocations: 31.98 kB / 0.984 GB, free: 22.41 MB / 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 ($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.0001335/0.1616, allocations: 103.2 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.1619, allocations: 250.7 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.162, allocations: 0 / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.933e-05/0.162, allocations: 31.92 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.1623, allocations: 19.94 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.1626, allocations: 159.8 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.1627, allocations: 0.6887 MB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.433e-05/0.1628, allocations: 7.984 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.1628, allocations: 11.44 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of SimCode: time 1.395e-06/0.1628, allocations: 0 / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of Templates: time 0.004655/0.1675, allocations: 1.703 MB / 0.9869 GB, free: 19.38 MB / 0.6198 GB