Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.724/2.724, allocations: 287.9 MB / 302.9 MB, free: 8.383 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.001415/0.001415, allocations: 183 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.087/2.087, 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.001036/0.001036, allocations: 104.3 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004858, allocations: 13.28 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1806, 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.Or): time 0.0007222/0.1814, allocations: 388.8 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1828, allocations: 1.136 MB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.1829, allocations: 0 / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.1829, allocations: 3.938 kB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.183, allocations: 15.92 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007553/0.1837, allocations: 189.7 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1839, allocations: 87.83 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.1839, allocations: 8 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.184, allocations: 59.88 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.1841, allocations: 43.88 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.1842, allocations: 12 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.1843, allocations: 19.97 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.1843, allocations: 8 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.1844, allocations: 41.64 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.1845, allocations: 104 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1845, allocations: 4 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.604e-06/0.1845, allocations: 0 / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.559e-06/0.1846, 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.0003523/0.1849, allocations: 408 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.185, allocations: 12.02 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.185, allocations: 11.91 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.053e-05/0.1851, allocations: 175 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.1852, allocations: 8 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.1852, allocations: 8 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.1853, allocations: 53.61 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.317e-06/0.1853, allocations: 0 / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1854, allocations: 0 / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-06/0.1854, allocations: 4 kB / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.745e-05/0.1854, allocations: 12 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.1859, allocations: 356.6 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.167e-05/0.186, allocations: 38.56 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.186, allocations: 3.938 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.1862, allocations: 79.45 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.1862, allocations: 0 / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002637/0.1865, allocations: 101.6 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.1865, allocations: 59.34 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/0.1866, allocations: 129.8 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.1867, allocations: 33.7 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.1867, allocations: 88.33 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.1868, allocations: 19.8 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.1868, allocations: 4 kB / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.1869, allocations: 318.8 kB / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.187, allocations: 55.97 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.1872, allocations: 92.25 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.1874, allocations: 115.4 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.172e-06/0.1874, allocations: 0 / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005043/0.1879, allocations: 256.8 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.188, allocations: 71.39 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.1e-06/0.188, allocations: 3.938 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.188, allocations: 8.109 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.366e-05/0.1881, allocations: 4 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.157e-06/0.1881, allocations: 0 / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.1885, allocations: 81.75 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.1886, allocations: 11.95 kB / 0.9833 GB, free: 23.2 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,or1.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.0001012/0.1887, allocations: 129.8 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.1887, allocations: 3.906 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.1888, allocations: 12.38 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1888, allocations: 0 / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.19e-06/0.1888, allocations: 4 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.497e-06/0.1888, allocations: 3.938 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.1889, allocations: 177.6 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-06/0.189, allocations: 480 / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/0.189, allocations: 0 / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.737e-06/0.189, allocations: 4 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.189, allocations: 4 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.831e-06/0.189, allocations: 0 / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.96e-06/0.189, allocations: 4 kB / 0.9837 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.1892, allocations: 117 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.1892, allocations: 81.02 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1893, allocations: 7.984 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.1893, allocations: 7.938 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.1894, allocations: 0 / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.448e-06/0.1894, allocations: 4 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.1894, allocations: 95.2 kB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.32e-07/0.1894, allocations: 0 / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003662/0.1898, allocations: 32 kB / 0.984 GB, free: 22.43 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,or1.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.0001355/0.19, allocations: 111.2 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.1903, allocations: 242.7 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.78e-06/0.1904, allocations: 0 / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.565e-05/0.1904, allocations: 24 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.1907, allocations: 19.88 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.191, allocations: 171.8 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.1911, allocations: 0.6887 MB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.11e-05/0.1912, allocations: 4 kB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.1912, allocations: 11.44 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.308e-06/0.1912, allocations: 0 / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.004744/0.1959, allocations: 1.678 MB / 0.9869 GB, free: 19.44 MB / 0.6198 GB