Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.531/2.531, 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.001419/0.001419, allocations: 173 kB / 371.4 MB, free: 10.67 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.135/2.135, 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.001008/0.001007, allocations: 95.81 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008004/0.0008004, allocations: 10.75 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1749, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001416/0.1764, allocations: 1.172 MB / 0.9799 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1776, allocations: 0.7308 MB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.1777, allocations: 0 / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.1777, allocations: 0 / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-05/0.1778, allocations: 11.92 kB / 0.9806 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.1782, allocations: 91.77 kB / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.986e-05/0.1783, allocations: 51.86 kB / 0.9808 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.302e-05/0.1784, allocations: 7.984 kB / 0.9808 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.442e-05/0.1785, allocations: 27.92 kB / 0.9808 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.1786, allocations: 35.89 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1786, allocations: 0 / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.1788, allocations: 75.8 kB / 0.9809 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.1788, allocations: 15.98 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.1789, allocations: 37.64 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.179, allocations: 100 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.743e-06/0.179, allocations: 0 / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.82e-06/0.1791, allocations: 0 / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.073e-06/0.1791, 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.0004835/0.1796, allocations: 408.8 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1796, allocations: 16.02 kB / 0.9814 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.1797, allocations: 11.86 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.608e-05/0.1797, allocations: 167 kB / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.1798, allocations: 7.984 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1798, allocations: 4 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.18, allocations: 69.66 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.18, allocations: 3.938 kB / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1801, allocations: 3.938 kB / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-06/0.1801, allocations: 8 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.1803, allocations: 43.97 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.1809, allocations: 324.7 kB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.181, allocations: 46.56 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1811, allocations: 4 kB / 0.9821 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.1813, allocations: 87.42 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.877e-06/0.1813, allocations: 4 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004637/0.1818, allocations: 137.6 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.1818, allocations: 59.39 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.1819, allocations: 125.8 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.182, allocations: 25.7 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.182, allocations: 96.31 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.182, allocations: 23.75 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-06/0.1821, allocations: 0 / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.1821, allocations: 322.8 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1822, allocations: 31.92 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1824, allocations: 50.56 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1825, allocations: 31.98 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.003e-06/0.1825, allocations: 0 / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003056/0.1828, allocations: 121.5 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1829, allocations: 8.938 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.809e-06/0.1829, allocations: 0 / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1829, allocations: 3.984 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.183, allocations: 11.98 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.548e-06/0.183, allocations: 7.953 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.974e-05/0.1831, allocations: 7.938 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1832, allocations: 11.94 kB / 0.9832 GB, free: 23.36 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: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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.403e-05/0.1833, allocations: 121.9 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1833, allocations: 7.906 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.1833, allocations: 8.375 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.442e-06/0.1833, allocations: 4 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1834, allocations: 0 / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.719e-06/0.1834, allocations: 3.953 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.1839, allocations: 386.4 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1839, allocations: 0 / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.184, allocations: 7.984 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.934e-06/0.184, allocations: 4 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.184, allocations: 0 / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.885e-06/0.184, allocations: 3.953 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.877e-06/0.184, allocations: 0 / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.1844, allocations: 219.4 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.1844, allocations: 81.02 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.1844, allocations: 4 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.1846, allocations: 4 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.1846, allocations: 11.88 kB / 0.9841 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1847, allocations: 8 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.759e-05/0.1847, allocations: 95.92 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.75e-07/0.1847, allocations: 0 / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004168/0.1851, allocations: 39.98 kB / 0.9842 GB, free: 22.28 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0003767/0.1855, allocations: 163 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.1859, allocations: 87.83 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1859, allocations: 0 / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.186, allocations: 39.97 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1862, allocations: 0 / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.1867, allocations: 222.3 kB / 0.9847 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.1868, allocations: 0.6942 MB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.904e-05/0.1869, allocations: 4.172 kB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.1869, allocations: 15.42 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.369e-06/0.1869, allocations: 4 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.004477/0.1914, allocations: 1.326 MB / 0.9867 GB, free: 19.7 MB / 0.6198 GB