Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.634/2.634, allocations: 287.9 MB / 302.9 MB, free: 8.395 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.001418/0.001418, allocations: 171.3 kB / 371.4 MB, free: 10.69 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.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.001102/0.001102, allocations: 105.9 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004689, allocations: 11.62 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1583, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001515/0.1599, allocations: 1.191 MB / 0.9799 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1611, allocations: 0.7192 MB / 0.9806 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.1612, allocations: 0 / 0.9806 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.1612, allocations: 3.938 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.1613, allocations: 19.95 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.1617, allocations: 83.7 kB / 0.9807 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.856e-05/0.1618, allocations: 43.95 kB / 0.9808 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.445e-05/0.1619, allocations: 11.98 kB / 0.9808 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.162, allocations: 31.91 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.1621, allocations: 27.84 kB / 0.9808 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1621, allocations: 4 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1623, allocations: 67.86 kB / 0.9809 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.1623, allocations: 11.94 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.1624, allocations: 41.69 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1626, allocations: 92.06 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.244e-06/0.1626, allocations: 0 / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.009e-06/0.1626, allocations: 0 / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.368e-06/0.1626, allocations: 0 / 0.981 GB, free: 25.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004743/0.1631, allocations: 438.5 kB / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1631, allocations: 12.03 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.1632, allocations: 7.859 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.114e-05/0.1633, allocations: 171 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.1633, allocations: 8 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1634, allocations: 8 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.1636, allocations: 69.64 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1636, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1636, allocations: 3.938 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.347e-06/0.1636, allocations: 4 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.1638, allocations: 43.97 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.1643, allocations: 296.7 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1645, allocations: 62.48 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1645, allocations: 8.062 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.1647, allocations: 75.5 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.691e-06/0.1648, allocations: 0 / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004764/0.1652, allocations: 153.5 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.1653, allocations: 55.41 kB / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.1654, allocations: 125.7 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1654, allocations: 29.7 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.1655, allocations: 92.27 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.1655, allocations: 19.78 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.1655, allocations: 4 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.1656, allocations: 322.8 kB / 0.983 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.281e-05/0.1657, allocations: 23.98 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1658, allocations: 61.12 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1659, allocations: 31.94 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.24e-06/0.1659, allocations: 0 / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002927/0.1662, allocations: 125.5 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1663, allocations: 7.984 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.467e-06/0.1663, allocations: 4 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1663, allocations: 0 / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1664, allocations: 16 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.9e-06/0.1664, allocations: 7.953 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.854e-05/0.1665, allocations: 7.984 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1666, allocations: 7.938 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.121e-05/0.1667, allocations: 125.8 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.1667, allocations: 11.91 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.1667, allocations: 8.375 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1667, allocations: 3.984 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1668, allocations: 0 / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.736e-06/0.1668, allocations: 3.953 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.1673, allocations: 382.5 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.423e-06/0.1673, allocations: 3.984 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.1674, allocations: 4 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.365e-06/0.1674, allocations: 0 / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1674, allocations: 7.984 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.1674, allocations: 3.953 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.979e-06/0.1674, allocations: 0 / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.1678, allocations: 215.4 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.1678, allocations: 81.02 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.1679, allocations: 3.984 kB / 0.9841 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.168, allocations: 8 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.168, allocations: 11.94 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1681, allocations: 7.938 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.1681, allocations: 95.27 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.591e-06/0.1681, allocations: 0 / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004077/0.1686, allocations: 39.94 kB / 0.9842 GB, free: 22.24 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003604/0.1689, allocations: 152.4 kB / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.1692, allocations: 75.89 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.837e-06/0.1693, allocations: 3.938 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.1694, allocations: 39.97 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.1696, allocations: 13.47 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.1701, allocations: 219.3 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.1702, allocations: 0.6887 MB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.644e-05/0.1703, allocations: 8.188 kB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.1703, allocations: 11.44 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of SimCode: time 1.652e-06/0.1703, allocations: 0 / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of Templates: time 0.004497/0.1749, allocations: 1.324 MB / 0.9867 GB, free: 19.68 MB / 0.6198 GB