Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.598/2.598, allocations: 287.9 MB / 302.9 MB, free: 8.328 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.001419/0.001419, allocations: 181.1 kB / 371.4 MB, free: 10.64 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 1.984/1.984, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001056/0.001056, allocations: 90.42 kB / 0.7434 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.000477, allocations: 15.86 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1616, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001461/0.1631, allocations: 1.179 MB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1643, allocations: 0.7231 MB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.1644, allocations: 3.938 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.1644, allocations: 0 / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.1645, allocations: 11.98 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.165, allocations: 87.7 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.925e-05/0.1651, allocations: 47.86 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.408e-05/0.1651, allocations: 12 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.415e-05/0.1652, allocations: 31.86 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.1653, allocations: 27.89 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1653, allocations: 4 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.1655, allocations: 67.88 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.1655, allocations: 11.92 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.1656, allocations: 37.7 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1658, allocations: 96.05 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.432e-06/0.1658, allocations: 3.938 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.891e-06/0.1658, allocations: 0 / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.1658, allocations: 4 kB / 0.981 GB, free: 25.79 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.0004736/0.1663, allocations: 431.9 kB / 0.9815 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1663, allocations: 12.03 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1664, allocations: 7.859 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.757e-05/0.1665, allocations: 171 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.1665, allocations: 4 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1666, allocations: 8 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1668, allocations: 77.62 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.487e-06/0.1668, allocations: 3.938 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1668, allocations: 0 / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1668, allocations: 4 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.167, allocations: 43.91 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.1675, allocations: 304.7 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1677, allocations: 50.56 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1677, allocations: 3.984 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.1679, allocations: 83.44 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.66e-06/0.1679, allocations: 0 / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000465/0.1684, allocations: 149.6 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.1685, allocations: 59.41 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.1685, allocations: 117.8 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1686, allocations: 33.7 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.1686, allocations: 92.25 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.1687, allocations: 15.81 kB / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-06/0.1687, allocations: 0 / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.1687, allocations: 322.8 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-05/0.1688, allocations: 23.98 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.169, allocations: 65.08 kB / 0.983 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1691, allocations: 35.98 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.858e-06/0.1691, allocations: 0 / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002845/0.1694, allocations: 117.4 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1694, allocations: 5.406 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.564e-06/0.1694, allocations: 8.094 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1695, allocations: 4 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1696, allocations: 15.98 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1696, allocations: 11.89 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.5e-05/0.1697, allocations: 11.94 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.1697, allocations: 4 kB / 0.9832 GB, free: 23.29 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 8.299e-05/0.1698, allocations: 125.8 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.1698, allocations: 7.906 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.1699, allocations: 12.38 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1699, allocations: 0 / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.456e-06/0.1699, allocations: 0 / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.917e-06/0.1699, allocations: 3.953 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/0.1704, allocations: 382.5 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-06/0.1705, allocations: 0 / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.1705, allocations: 11.98 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.41e-06/0.1705, allocations: 0 / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1706, allocations: 4 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.319e-06/0.1706, allocations: 3.953 kB / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1706, allocations: 0 / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.1709, allocations: 219.3 kB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.171, allocations: 81.02 kB / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.171, allocations: 4 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.1711, allocations: 7.984 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.1712, allocations: 7.953 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1712, allocations: 7.984 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.1713, allocations: 87.28 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.02e-07/0.1713, allocations: 0 / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004066/0.1717, allocations: 39.98 kB / 0.9842 GB, free: 22.21 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.0003629/0.1721, allocations: 167.7 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.1724, allocations: 83.89 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.999e-06/0.1724, allocations: 0 / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1726, allocations: 43.91 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.1728, allocations: 8 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.1732, allocations: 211.3 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.1734, allocations: 0.6887 MB / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.485e-05/0.1734, allocations: 8.172 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.1735, allocations: 11.44 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.517e-06/0.1735, allocations: 0 / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.004526/0.178, allocations: 1.323 MB / 0.9867 GB, free: 19.64 MB / 0.6198 GB