Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.856/2.856, allocations: 287.9 MB / 302.9 MB, free: 8.281 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.001399/0.001399, allocations: 182.9 kB / 371.4 MB, free: 10.68 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.113/2.113, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001019/0.001019, allocations: 81.98 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008404/0.0008407, allocations: 13.03 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1703, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0007472/0.1711, allocations: 438.4 kB / 0.9792 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00086/0.172, allocations: 0.8204 MB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.172, allocations: 0 / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.252e-05/0.172, allocations: 0 / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.022e-05/0.1721, allocations: 7.984 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.1722, allocations: 7.984 kB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.894e-05/0.1723, allocations: 27.91 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.1724, allocations: 23.97 kB / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.957e-05/0.1725, allocations: 11.92 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.1725, allocations: 15.92 kB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1726, allocations: 7.938 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.1726, allocations: 0 / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.1726, allocations: 11.98 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.1726, allocations: 25.7 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.063e-05/0.1727, allocations: 31.92 kB / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.1727, allocations: 0 / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.1727, allocations: 0 / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.321e-06/0.1727, allocations: 0 / 0.9802 GB, free: 26.74 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.000525/0.1733, allocations: 389.7 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1733, allocations: 12.03 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.1734, allocations: 3.906 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.211e-05/0.1734, allocations: 174.9 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1735, allocations: 4 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.1735, allocations: 8 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.1737, allocations: 65.66 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-06/0.1737, allocations: 4 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1738, allocations: 0 / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.648e-06/0.1738, allocations: 4 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.174, allocations: 55.89 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.1745, allocations: 308.7 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.1748, allocations: 62.55 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1748, allocations: 0 / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.1749, allocations: 30.56 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.862e-06/0.1749, allocations: 0 / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004247/0.1753, allocations: 113.7 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.1754, allocations: 51.41 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.1754, allocations: 117.8 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1755, allocations: 25.7 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.449e-05/0.1755, allocations: 88.14 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.1755, allocations: 15.81 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-06/0.1756, allocations: 384 / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.1756, allocations: 314.8 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.1757, allocations: 31.98 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.1759, allocations: 23.98 kB / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.176, allocations: 35.91 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.374e-06/0.176, allocations: 0 / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002576/0.1763, allocations: 85.59 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1763, allocations: 8 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.499e-06/0.1763, allocations: 4 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1763, allocations: 0 / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.1764, allocations: 11.98 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.464e-06/0.1764, allocations: 0 / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.1766, allocations: 31.88 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-06/0.1766, allocations: 4 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 6.388e-05/0.1767, allocations: 105.8 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.1767, allocations: 7.906 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.177, allocations: 105.8 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.423e-06/0.177, allocations: 0 / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.335e-06/0.177, allocations: 0 / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.555e-06/0.177, allocations: 0 / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.1772, allocations: 173.6 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-06/0.1772, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.1773, allocations: 11.98 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.824e-06/0.1773, allocations: 3.938 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-06/0.1774, allocations: 0 / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.362e-06/0.1774, allocations: 0 / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.776e-06/0.1774, allocations: 8 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.1777, allocations: 183.3 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.1777, allocations: 77.11 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1777, allocations: 4 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.1779, allocations: 23.97 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.178, allocations: 7.984 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.408e-06/0.178, allocations: 8 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.028e-05/0.1781, allocations: 91.27 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.84e-07/0.1781, allocations: 0 / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002932/0.1784, allocations: 8 kB / 0.9829 GB, free: 23.58 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001025/0.1785, allocations: 100.9 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.1788, allocations: 56.23 kB / 0.9831 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.371e-06/0.1788, allocations: 0 / 0.9831 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1789, allocations: 35.92 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.1792, allocations: 11.89 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.1795, allocations: 133.7 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.1796, allocations: 0.6848 MB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.129e-05/0.1797, allocations: 4 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.1797, allocations: 11.42 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of SimCode: time 1.385e-06/0.1797, allocations: 0 / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.002969/0.1827, allocations: 0.6288 MB / 0.9845 GB, free: 21.87 MB / 0.6198 GB