Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.297/2.297, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001648/0.001648, allocations: 174.8 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.565/2.565, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001209/0.001208, allocations: 99.97 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005085, allocations: 12 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2112, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001849/0.2131, allocations: 1.18 MB / 0.9 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.2147, allocations: 0.7267 MB / 0.9007 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.569e-05/0.2149, allocations: 0 / 0.9007 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.2149, allocations: 3.938 kB / 0.9007 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.215, allocations: 7.984 kB / 0.9008 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.2156, allocations: 99.62 kB / 0.9008 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.647e-05/0.2157, allocations: 43.94 kB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.2158, allocations: 8 kB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2159, allocations: 39.89 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.216, allocations: 31.84 kB / 0.901 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.2161, allocations: 0 / 0.901 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.2163, allocations: 75.86 kB / 0.901 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.2163, allocations: 15.92 kB / 0.9011 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.2164, allocations: 29.7 kB / 0.9011 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.2166, allocations: 107.8 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2166, allocations: 0 / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2166, allocations: 4 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2166, allocations: 0 / 0.9012 GB, free: 63.11 MB / 0.6042 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.0006586/0.2173, allocations: 405.1 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2173, allocations: 8.031 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.2174, allocations: 11.86 kB / 0.9016 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.2175, allocations: 171 kB / 0.9018 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.2176, allocations: 8 kB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.2176, allocations: 7.984 kB / 0.9018 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.2178, allocations: 73.64 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2179, allocations: 0 / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.2179, allocations: 0 / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2179, allocations: 0 / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.2181, allocations: 51.92 kB / 0.9019 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007718/0.2189, allocations: 320.7 kB / 0.9022 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.2191, allocations: 50.56 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.2192, allocations: 8 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.2194, allocations: 75.5 kB / 0.9023 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/0.2194, allocations: 0 / 0.9023 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005945/0.22, allocations: 157.7 kB / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.2201, allocations: 55.41 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.2203, allocations: 129.7 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.2203, allocations: 25.7 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.2204, allocations: 92.33 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.2205, allocations: 11.8 kB / 0.9028 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.2205, allocations: 4 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2206, allocations: 318.8 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.2209, allocations: 31.97 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.2212, allocations: 46.56 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.2214, allocations: 47.98 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2215, allocations: 0 / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006055/0.2221, allocations: 113.5 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.2221, allocations: 8 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2222, allocations: 0 / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.2222, allocations: 3.953 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.2224, allocations: 11.98 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2225, allocations: 8.062 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.2227, allocations: 15.84 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.2227, allocations: 7.938 kB / 0.9034 GB, free: 60.65 MB / 0.6042 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 0.0001693/0.2229, allocations: 117.8 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.2229, allocations: 7.938 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.223, allocations: 12.38 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.223, allocations: 4 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.2231, allocations: 7.953 kB / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2231, allocations: 0 / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009728/0.2241, allocations: 382.4 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2241, allocations: 0 / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.2242, allocations: 7.984 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.2243, allocations: 4 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.2243, allocations: 11.89 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.2243, allocations: 3.938 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2244, allocations: 0 / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.2252, allocations: 207.5 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.2252, allocations: 85 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.2253, allocations: 12 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.2256, allocations: 7.953 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.2257, allocations: 3.984 kB / 0.9042 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.2257, allocations: 4 kB / 0.9042 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.066e-05/0.2258, allocations: 91.27 kB / 0.9043 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2258, allocations: 0 / 0.9043 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007733/0.2266, allocations: 39.94 kB / 0.9043 GB, free: 59.56 MB / 0.6042 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.0006776/0.2273, allocations: 171.8 kB / 0.9045 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006338/0.228, allocations: 71.91 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.228, allocations: 0 / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.2283, allocations: 44.44 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.2287, allocations: 7.984 kB / 0.9046 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/0.2295, allocations: 211.2 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.2297, allocations: 0.6926 MB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.244e-05/0.2298, allocations: 8.172 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.2298, allocations: 11.44 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of SimCode: time 7.51e-07/0.2299, allocations: 0 / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of Templates: time 0.007766/0.2376, allocations: 1.335 MB / 0.9068 GB, free: 56.98 MB / 0.6042 GB