Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.792/2.792, allocations: 287.9 MB / 302.9 MB, free: 8.309 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.001416/0.001416, allocations: 189.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.154/2.154, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001003/0.001003, allocations: 96.72 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 17.75 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1744, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0007107/0.1751, allocations: 434.3 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1765, allocations: 1.185 MB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.1765, allocations: 4 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.1766, allocations: 0 / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.847e-05/0.1767, allocations: 27.89 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.1775, allocations: 271.7 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1777, allocations: 123.8 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.052e-05/0.1778, allocations: 16.17 kB / 0.9808 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.983e-05/0.1779, allocations: 83.86 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.178, allocations: 71.77 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.1781, allocations: 12 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.333e-05/0.1782, allocations: 27.98 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.1782, allocations: 7.984 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.1783, allocations: 49.64 kB / 0.981 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1784, allocations: 155.8 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.038e-06/0.1785, allocations: 0 / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.199e-06/0.1785, allocations: 0 / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.1785, allocations: 4 kB / 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.0003786/0.1789, allocations: 457.2 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.1789, allocations: 15.95 kB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.179, allocations: 15.91 kB / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.836e-05/0.1791, allocations: 169.4 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.1791, allocations: 12 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.1792, allocations: 12 kB / 0.9818 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1793, allocations: 61.59 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.074e-06/0.1793, allocations: 0 / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1794, allocations: 4 kB / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.1794, allocations: 4 kB / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.794e-05/0.1794, allocations: 19.98 kB / 0.9819 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.18, allocations: 416.4 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.563e-05/0.1801, allocations: 38.5 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.1801, allocations: 4 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.1803, allocations: 103.4 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.697e-06/0.1803, allocations: 0 / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003162/0.1806, allocations: 133.5 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1807, allocations: 59.41 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.1808, allocations: 137.7 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.1808, allocations: 29.7 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.1809, allocations: 108 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.1809, allocations: 23.86 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.181, allocations: 4 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.181, allocations: 322.8 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.1813, allocations: 83.95 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.1815, allocations: 134 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.1818, allocations: 170.6 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.674e-06/0.1818, allocations: 0 / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006996/0.1825, allocations: 370.4 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/0.1826, allocations: 105.3 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.103e-06/0.1826, allocations: 4 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1826, allocations: 0 / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.738e-05/0.1827, allocations: 4 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.925e-06/0.1827, allocations: 7.953 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/0.1833, allocations: 119.7 kB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.1834, allocations: 23.98 kB / 0.9842 GB, free: 22.28 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,and1.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.0001327/0.1835, allocations: 127.4 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.1836, allocations: 15.83 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.483e-05/0.1836, allocations: 16.36 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-06/0.1836, allocations: 0 / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.331e-06/0.1837, allocations: 0 / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1837, allocations: 3.953 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.1838, allocations: 193.6 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-06/0.1838, allocations: 0 / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.1839, allocations: 11.98 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.71e-06/0.1839, allocations: 0 / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1839, allocations: 0 / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.042e-06/0.1839, allocations: 4.375 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.89e-06/0.1839, allocations: 0 / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.1841, allocations: 140.9 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.1842, allocations: 85.02 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.1842, allocations: 4 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.1842, allocations: 4 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.1843, allocations: 11.92 kB / 0.9848 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1843, allocations: 8 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.1844, allocations: 97.8 kB / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.03e-07/0.1844, allocations: 0 / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003463/0.1848, allocations: 47.98 kB / 0.9849 GB, free: 21.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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.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.0001445/0.1849, allocations: 104.5 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004898/0.1854, allocations: 370 kB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.72e-06/0.1854, allocations: 0 / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.444e-05/0.1855, allocations: 35.98 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1858, allocations: 17.53 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.0003679/0.1862, allocations: 219.8 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.1863, allocations: 0.6926 MB / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.1864, allocations: 12.42 kB / 0.9863 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.1864, allocations: 11.44 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of SimCode: time 1.536e-06/0.1864, allocations: 4 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.005836/0.1922, allocations: 2.38 MB / 0.9887 GB, free: 17.54 MB / 0.6198 GB