Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.99/2.99, 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.002926/0.002926, allocations: 183.8 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.065/2.065, 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.001012/0.001012, allocations: 94.8 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004958, allocations: 12.81 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, 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.Not): time 0.000697/0.1576, allocations: 356.8 kB / 0.9791 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1589, allocations: 1.069 MB / 0.9802 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.159, allocations: 0 / 0.9802 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.159, allocations: 0 / 0.9802 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.207e-05/0.1591, allocations: 7.984 kB / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.1595, allocations: 102.9 kB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.247e-05/0.1596, allocations: 39.95 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.801e-05/0.1597, allocations: 11.98 kB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.1598, allocations: 27.97 kB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.1599, allocations: 23.91 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.1599, allocations: 4 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.353e-05/0.16, allocations: 15.98 kB / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.16, allocations: 7.984 kB / 0.9804 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.16, allocations: 33.7 kB / 0.9804 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.1602, allocations: 59.75 kB / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.329e-06/0.1602, allocations: 0 / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.13e-06/0.1602, allocations: 4 kB / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.147e-06/0.1602, allocations: 0 / 0.9805 GB, free: 26.41 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003088/0.1605, allocations: 357.2 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1606, allocations: 16.02 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.1606, allocations: 7.984 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.429e-05/0.1607, allocations: 163 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1608, allocations: 8 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1608, allocations: 4 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.345e-05/0.1609, allocations: 33.69 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.444e-06/0.1609, allocations: 4 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.476e-06/0.1609, allocations: 0 / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-06/0.1609, allocations: 4 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.156e-05/0.161, allocations: 11.94 kB / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.1613, allocations: 288.8 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.278e-05/0.1614, allocations: 18.58 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.851e-06/0.1614, allocations: 4 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.1616, allocations: 67.3 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.608e-06/0.1616, allocations: 3.984 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000187/0.1618, allocations: 61.62 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.1618, allocations: 51.41 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.1619, allocations: 113.8 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1619, allocations: 33.7 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.162, allocations: 88.12 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.162, allocations: 7.906 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.162, allocations: 0 / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.1621, allocations: 318.8 kB / 0.9821 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.98e-05/0.1622, allocations: 27.98 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.416e-05/0.1623, allocations: 50.5 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.034e-05/0.1624, allocations: 53.69 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.566e-06/0.1624, allocations: 4 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000284/0.1627, allocations: 147.2 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.1627, allocations: 45.62 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.514e-06/0.1627, allocations: 0 / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1628, allocations: 0 / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-05/0.1628, allocations: 0 / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.058e-06/0.1628, allocations: 4 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.1631, allocations: 40 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.1631, allocations: 11.94 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.312e-05/0.1632, allocations: 113.8 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.1632, allocations: 4 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.1633, allocations: 3.5 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-06/0.1633, allocations: 0 / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1633, allocations: 4 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-06/0.1633, allocations: 0 / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.622e-05/0.1634, allocations: 165.6 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-06/0.1634, allocations: 0 / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-06/0.1634, allocations: 3.938 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.007e-06/0.1634, allocations: 0 / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1635, allocations: 4 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.097e-06/0.1635, allocations: 0 / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.737e-06/0.1635, allocations: 0 / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1636, allocations: 81.08 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.1636, allocations: 85 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1636, allocations: 4 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.1637, allocations: 0 / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.1637, allocations: 4 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-06/0.1637, allocations: 0 / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.962e-05/0.1638, allocations: 83.58 kB / 0.983 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.33e-07/0.1638, allocations: 0 / 0.983 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002995/0.1641, allocations: 16 kB / 0.983 GB, free: 23.5 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001521/0.1643, allocations: 119.3 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1645, allocations: 115.4 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.889e-06/0.1645, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-05/0.1646, allocations: 11.98 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.1648, allocations: 7.953 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.1651, allocations: 142.7 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.1652, allocations: 0.6809 MB / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.246e-05/0.1653, allocations: 384 / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.1653, allocations: 11.44 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.507e-06/0.1653, allocations: 0 / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.003618/0.1689, allocations: 0.9684 MB / 0.985 GB, free: 21.39 MB / 0.6198 GB