Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.475/2.475, allocations: 287.9 MB / 302.9 MB, free: 8.254 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.002261/0.002261, allocations: 173.2 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.068/2.068, 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.001011/0.00101, allocations: 104.6 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.000469, allocations: 14.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1733, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002312/0.1757, allocations: 1.195 MB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1779, allocations: 0.7464 MB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.178, allocations: 0 / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.178, allocations: 7.922 kB / 0.9807 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.1781, allocations: 11.98 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006948/0.1789, allocations: 99.67 kB / 0.9808 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.179, allocations: 51.94 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.691e-05/0.1791, allocations: 12 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1793, allocations: 35.84 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1794, allocations: 39.88 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.1795, allocations: 11.94 kB / 0.9809 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.1797, allocations: 67.88 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.1798, allocations: 19.97 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.1799, allocations: 41.64 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.1802, allocations: 100 kB / 0.9811 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.6e-06/0.1802, allocations: 0 / 0.9811 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.619e-06/0.1802, allocations: 0 / 0.9811 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1802, allocations: 0 / 0.9811 GB, free: 25.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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007159/0.181, allocations: 450.5 kB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.181, allocations: 12.02 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.1811, allocations: 15.84 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1813, allocations: 184.2 kB / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.1813, allocations: 4 kB / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.1814, allocations: 11.98 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.1818, allocations: 81.64 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1818, allocations: 0 / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.1819, allocations: 8 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1819, allocations: 3.984 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.1823, allocations: 47.97 kB / 0.9819 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008154/0.1831, allocations: 332.6 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.1835, allocations: 66.55 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1835, allocations: 0 / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/0.1839, allocations: 99.39 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.932e-06/0.184, allocations: 4 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001033/0.185, allocations: 193.5 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.1851, allocations: 59.36 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1852, allocations: 125.7 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1853, allocations: 33.7 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.1853, allocations: 100.5 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.1854, allocations: 19.73 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.1854, allocations: 4 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.1855, allocations: 318.8 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.1857, allocations: 31.98 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.186, allocations: 76.09 kB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.1862, allocations: 39.92 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.153e-06/0.1863, allocations: 4 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006099/0.1869, allocations: 141.4 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.1869, allocations: 4 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.187, allocations: 4 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.187, allocations: 0 / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.1872, allocations: 24.08 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.842e-06/0.1872, allocations: 7.953 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.891e-05/0.1873, allocations: 15.91 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1874, allocations: 4 kB / 0.9835 GB, free: 23.02 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.528e-05/0.1875, allocations: 125.8 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.1875, allocations: 7.844 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.1875, allocations: 16.31 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.662e-06/0.1875, allocations: 4.375 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.397e-06/0.1876, allocations: 0 / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.903e-06/0.1876, allocations: 3.953 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005949/0.1882, allocations: 438.4 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.143e-06/0.1882, allocations: 4 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.1883, allocations: 4 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.539e-06/0.1883, allocations: 4 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1883, allocations: 3.984 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.392e-06/0.1883, allocations: 3.953 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.602e-06/0.1883, allocations: 0 / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.1887, allocations: 251.3 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.1888, allocations: 89.02 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.1888, allocations: 4 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.189, allocations: 4 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.189, allocations: 11.94 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1891, allocations: 11.98 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.784e-05/0.1891, allocations: 97.14 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.33e-07/0.1891, allocations: 0 / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003975/0.1895, allocations: 40 kB / 0.9846 GB, free: 21.82 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003479/0.1899, allocations: 173.1 kB / 0.9848 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.1902, allocations: 92.33 kB / 0.9849 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.627e-06/0.1902, allocations: 8 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.1904, allocations: 55.91 kB / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1907, allocations: 11.98 kB / 0.9849 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.1911, allocations: 219 kB / 0.9851 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.1912, allocations: 0.6965 MB / 0.9858 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.775e-05/0.1913, allocations: 7.984 kB / 0.9858 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.1913, allocations: 11.44 kB / 0.9858 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.305e-06/0.1914, allocations: 0 / 0.9858 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.004714/0.1961, allocations: 1.547 MB / 0.9874 GB, free: 18.97 MB / 0.6198 GB