Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.477/2.477, allocations: 287.9 MB / 302.9 MB, free: 8.359 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.002235/0.002235, allocations: 189.5 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.449/2.449, allocations: 205.4 MB / 0.6301 GB, free: 10.3 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.001511/0.001512, allocations: 94.83 kB / 0.7434 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004667, allocations: 11 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1937, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001446/0.1952, allocations: 1.175 MB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1964, allocations: 0.723 MB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.1964, allocations: 0 / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.1965, allocations: 7.938 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.1965, allocations: 11.97 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.197, allocations: 95.69 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.586e-05/0.1971, allocations: 39.95 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.168e-05/0.1972, allocations: 7.984 kB / 0.9808 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.164e-05/0.1972, allocations: 31.91 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.641e-05/0.1973, allocations: 39.84 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.1974, allocations: 4 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1975, allocations: 67.86 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.1976, allocations: 15.92 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.1976, allocations: 33.7 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1978, allocations: 100 kB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.536e-06/0.1978, allocations: 0 / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.366e-06/0.1978, allocations: 0 / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.865e-06/0.1978, allocations: 0 / 0.981 GB, free: 25.81 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.0005039/0.1983, allocations: 412.8 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1984, allocations: 12.02 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.1984, allocations: 11.86 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.797e-05/0.1985, allocations: 178.9 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.1986, allocations: 4 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1986, allocations: 12 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1988, allocations: 69.64 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.1988, allocations: 7.938 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1988, allocations: 0 / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-06/0.1989, allocations: 4 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.199, allocations: 39.97 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.1996, allocations: 320.7 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.1998, allocations: 50.5 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1998, allocations: 4 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.2, allocations: 83.5 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.752e-06/0.2001, allocations: 0 / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004638/0.2005, allocations: 153.6 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.2006, allocations: 55.41 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.2007, allocations: 129.7 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.2007, allocations: 25.7 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.2007, allocations: 92.31 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.2008, allocations: 15.75 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-06/0.2008, allocations: 0 / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.2009, allocations: 322.8 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.201, allocations: 27.98 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.2011, allocations: 50.56 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.2012, allocations: 31.98 kB / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.588e-06/0.2012, allocations: 0 / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003077/0.2016, allocations: 125.5 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2016, allocations: 9.25 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.522e-06/0.2016, allocations: 0 / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.2016, allocations: 0 / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2018, allocations: 19.92 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.424e-06/0.2018, allocations: 3.953 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.718e-05/0.2019, allocations: 11.94 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2019, allocations: 8.047 kB / 0.9832 GB, free: 23.33 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 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.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 7.656e-05/0.202, allocations: 117.8 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.202, allocations: 7.906 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.2021, allocations: 8.375 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2021, allocations: 4 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.234e-06/0.2021, allocations: 0 / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.2021, allocations: 3.953 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.2026, allocations: 382.4 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2027, allocations: 0 / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.2027, allocations: 11.98 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2027, allocations: 0 / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2028, allocations: 0 / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.614e-06/0.2028, allocations: 3.953 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.851e-06/0.2028, allocations: 0 / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.2031, allocations: 231.8 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.2032, allocations: 85.02 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.2032, allocations: 0 / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2033, allocations: 11.97 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.2034, allocations: 11.95 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.2034, allocations: 4 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.2035, allocations: 91.27 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.53e-07/0.2035, allocations: 0 / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003795/0.2039, allocations: 39.98 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 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.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.0003505/0.2042, allocations: 159.2 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002831/0.2045, allocations: 83.84 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.922e-06/0.2045, allocations: 0 / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.2047, allocations: 39.97 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.2049, allocations: 8 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.2053, allocations: 211.1 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.2055, allocations: 0.6926 MB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.031e-05/0.2055, allocations: 12.17 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.2056, allocations: 7.438 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of SimCode: time 1.273e-06/0.2056, allocations: 0 / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.00447/0.21, allocations: 1.341 MB / 0.9867 GB, free: 19.66 MB / 0.6198 GB