Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.673/2.673, allocations: 287.9 MB / 302.9 MB, free: 8.277 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.00225/0.00225, allocations: 167.2 kB / 371.4 MB, free: 10.67 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.068/2.068, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001028/0.001028, allocations: 90.55 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004725, allocations: 13.31 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1581, 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.Or3): time 0.0007291/0.1588, allocations: 438.3 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1602, allocations: 1.181 MB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.1603, allocations: 4 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.1603, allocations: 3.938 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.1604, allocations: 15.95 kB / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008933/0.1613, allocations: 289.6 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.1615, allocations: 123.8 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.1616, allocations: 20.16 kB / 0.9808 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1617, allocations: 83.86 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1618, allocations: 67.78 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.1619, allocations: 12 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.162, allocations: 31.92 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.162, allocations: 11.97 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.1621, allocations: 49.64 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1623, allocations: 155.9 kB / 0.9812 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.678e-06/0.1623, allocations: 0 / 0.9812 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.375e-06/0.1623, allocations: 0 / 0.9812 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.1623, allocations: 0 / 0.9812 GB, free: 25.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003931/0.1627, allocations: 461.5 kB / 0.9816 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1627, allocations: 12.02 kB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/0.1628, allocations: 15.91 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.936e-05/0.1629, allocations: 168.9 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.163, allocations: 4 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.163, allocations: 23.98 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.1631, allocations: 57.66 kB / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.269e-06/0.1632, allocations: 0 / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1632, allocations: 4 kB / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.1632, allocations: 0 / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.759e-05/0.1633, allocations: 23.92 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.1638, allocations: 416.5 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.47e-05/0.1639, allocations: 34.56 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.724e-06/0.1639, allocations: 0 / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.1641, allocations: 103.4 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.461e-06/0.1641, allocations: 0 / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003299/0.1645, allocations: 133.5 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.1645, allocations: 55.41 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.1646, allocations: 141.7 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.1647, allocations: 34.08 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.1648, allocations: 100.1 kB / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.1648, allocations: 19.8 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.1648, allocations: 8 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.1649, allocations: 326.8 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.1652, allocations: 83.95 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.1654, allocations: 137.9 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.1657, allocations: 165.1 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.1657, allocations: 0 / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007034/0.1664, allocations: 370.5 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/0.1665, allocations: 105.1 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.701e-06/0.1665, allocations: 7.938 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1665, allocations: 0 / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.041e-05/0.1665, allocations: 11.98 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.664e-06/0.1666, allocations: 7.953 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/0.1672, allocations: 126.3 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.1673, allocations: 15.98 kB / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001175/0.1674, allocations: 135.5 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.1674, allocations: 7.906 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.1675, allocations: 12.36 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.146e-06/0.1675, allocations: 4 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.381e-06/0.1675, allocations: 0 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.065e-06/0.1675, allocations: 7.953 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1676, allocations: 189.6 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-06/0.1677, allocations: 0 / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.1677, allocations: 7.984 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1677, allocations: 0 / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1677, allocations: 4 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.029e-06/0.1677, allocations: 0 / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.872e-06/0.1677, allocations: 4 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.168, allocations: 140.9 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.168, allocations: 81.02 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.168, allocations: 4 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.1681, allocations: 0 / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.1681, allocations: 11.98 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1682, allocations: 4 kB / 0.9848 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.116e-05/0.1682, allocations: 99.27 kB / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.83e-07/0.1682, allocations: 0 / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003425/0.1686, allocations: 44.08 kB / 0.9849 GB, free: 21.44 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001482/0.1687, allocations: 120.3 kB / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004953/0.1693, allocations: 362.1 kB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.867e-06/0.1693, allocations: 0 / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.1694, allocations: 39.92 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.1696, allocations: 16.36 kB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.17, allocations: 211.5 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.1702, allocations: 0.6926 MB / 0.9863 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.062e-05/0.1702, allocations: 12.42 kB / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.1703, allocations: 23.38 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.48e-06/0.1703, allocations: 0 / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.005888/0.1762, allocations: 2.379 MB / 0.9887 GB, free: 17.54 MB / 0.6198 GB