Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.0111/0.01111, allocations: 88.89 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001389/0.001389, allocations: 177.2 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.198/2.198, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.739/2.739, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006401/0.0006406, allocations: 16.62 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2323, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002153/0.2345, allocations: 1.195 MB / 0.7292 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.2364, allocations: 0.7188 MB / 0.7299 GB, free: 8.262 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.2365, allocations: 4 kB / 0.7299 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.2366, allocations: 3.984 kB / 0.7299 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.729e-05/0.2366, allocations: 11.91 kB / 0.7299 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.2373, allocations: 95.7 kB / 0.73 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.2375, allocations: 47.88 kB / 0.7301 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2376, allocations: 11.98 kB / 0.7301 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.2377, allocations: 31.89 kB / 0.7301 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.26e-05/0.2378, allocations: 35.89 kB / 0.7302 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.2378, allocations: 4 kB / 0.7302 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.2381, allocations: 67.88 kB / 0.7302 GB, free: 7.953 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.2381, allocations: 15.97 kB / 0.7302 GB, free: 7.938 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.2382, allocations: 37.64 kB / 0.7303 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.2384, allocations: 99.98 kB / 0.7304 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2384, allocations: 0 / 0.7304 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2384, allocations: 0 / 0.7304 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2385, allocations: 4 kB / 0.7304 GB, free: 7.793 MB / 0.5573 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.0007701/0.2392, allocations: 404.9 kB / 0.7308 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.2393, allocations: 8.031 kB / 0.7308 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.281e-05/0.2394, allocations: 30.56 kB / 0.7308 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.2394, allocations: 15.86 kB / 0.7308 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.2396, allocations: 170.9 kB / 0.731 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.2396, allocations: 11.98 kB / 0.731 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.2397, allocations: 8 kB / 0.731 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.24, allocations: 73.58 kB / 0.7311 GB, free: 6.977 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.24, allocations: 0 / 0.7311 GB, free: 6.977 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.24, allocations: 4 kB / 0.7311 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.24, allocations: 0 / 0.7311 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.2403, allocations: 51.86 kB / 0.7311 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008512/0.2411, allocations: 312.8 kB / 0.7314 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.2414, allocations: 50.5 kB / 0.7315 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.2414, allocations: 8 kB / 0.7315 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.2417, allocations: 79.48 kB / 0.7315 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.2417, allocations: 0 / 0.7315 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006476/0.2424, allocations: 153.6 kB / 0.7317 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.2424, allocations: 63.33 kB / 0.7318 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2426, allocations: 117.8 kB / 0.7319 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.2426, allocations: 33.64 kB / 0.7319 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.2427, allocations: 96.22 kB / 0.732 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.2427, allocations: 11.84 kB / 0.732 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.2427, allocations: 0 / 0.732 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2429, allocations: 322.8 kB / 0.7323 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.243, allocations: 27.98 kB / 0.7323 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.2432, allocations: 50.56 kB / 0.7324 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.2434, allocations: 35.98 kB / 0.7324 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2434, allocations: 0 / 0.7324 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004017/0.2438, allocations: 121.5 kB / 0.7325 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2439, allocations: 8 kB / 0.7325 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2439, allocations: 0 / 0.7325 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2439, allocations: 3.953 kB / 0.7325 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.2441, allocations: 12.05 kB / 0.7326 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.2441, allocations: 11.94 kB / 0.7326 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2442, allocations: 7.906 kB / 0.7326 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.2443, allocations: 4 kB / 0.7326 GB, free: 5.289 MB / 0.5573 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.0001211/0.2444, allocations: 117.8 kB / 0.7327 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.2444, allocations: 4 kB / 0.7327 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.496e-05/0.2445, allocations: 8.375 kB / 0.7327 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.2445, allocations: 7.953 kB / 0.7327 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2445, allocations: 4 kB / 0.7327 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2445, allocations: 3.984 kB / 0.7327 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007068/0.2452, allocations: 386.3 kB / 0.7331 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2452, allocations: 0 / 0.7331 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.797e-05/0.2453, allocations: 11.92 kB / 0.7331 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.2453, allocations: 7.953 kB / 0.7331 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2454, allocations: 4 kB / 0.7331 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2454, allocations: 0 / 0.7331 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2454, allocations: 0 / 0.7331 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.2459, allocations: 219.4 kB / 0.7333 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.2459, allocations: 81.05 kB / 0.7334 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.246, allocations: 11.95 kB / 0.7334 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.2461, allocations: 11.94 kB / 0.7334 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.2462, allocations: 3.984 kB / 0.7334 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2462, allocations: 4 kB / 0.7334 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.5e-05/0.2463, allocations: 91.27 kB / 0.7335 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2463, allocations: 0 / 0.7335 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004316/0.2468, allocations: 39.98 kB / 0.7336 GB, free: 4.191 MB / 0.5573 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.00111/0.2479, allocations: 0.8165 MB / 0.7344 GB, free: 3.367 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.2483, allocations: 79.88 kB / 0.7344 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2483, allocations: 0 / 0.7344 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.2485, allocations: 39.92 kB / 0.7345 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.2487, allocations: 7.953 kB / 0.7345 GB, free: 3.242 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009762/0.2497, allocations: 0.7304 MB / 0.7352 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.25, allocations: 0.6926 MB / 0.7359 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.78e-05/0.2501, allocations: 4.188 kB / 0.7359 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.2501, allocations: 23.42 kB / 0.7359 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of SimCode: time 8.01e-07/0.2502, allocations: 0 / 0.7359 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.2728, allocations: 2.321 MB / 0.7382 GB, free: 15.51 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004117/0.2733, allocations: 251.9 kB / 0.7384 GB, free: 15.18 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/2.767, allocations: 11.44 kB / 0.7384 GB, free: 15.17 MB / 0.573 GB