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.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.01069/0.01069, allocations: 89.69 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.001193/0.001193, allocations: 172.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.148/2.148, 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.635/2.635, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.0006486, allocations: 12.52 kB / 0.6243 GB, free: 21.1 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2281, allocations: 106.2 MB / 0.7281 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002089/0.2302, allocations: 1.179 MB / 0.7292 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.2321, allocations: 0.7266 MB / 0.7299 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.2322, allocations: 0 / 0.7299 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.2322, allocations: 0 / 0.7299 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.776e-05/0.2323, allocations: 15.92 kB / 0.7299 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.233, allocations: 95.69 kB / 0.73 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.2331, allocations: 43.89 kB / 0.7301 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2332, allocations: 19.95 kB / 0.7301 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.2333, allocations: 27.92 kB / 0.7301 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.066e-05/0.2334, allocations: 31.89 kB / 0.7301 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2335, allocations: 4 kB / 0.7301 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.2337, allocations: 71.81 kB / 0.7302 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.2338, allocations: 19.97 kB / 0.7302 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.2338, allocations: 33.64 kB / 0.7303 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.2341, allocations: 108 kB / 0.7304 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2341, allocations: 0 / 0.7304 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2341, allocations: 0 / 0.7304 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2341, allocations: 0 / 0.7304 GB, free: 5.738 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.0008051/0.2349, allocations: 396.9 kB / 0.7308 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.378e-05/0.235, allocations: 12.03 kB / 0.7308 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.341e-05/0.2351, allocations: 42.55 kB / 0.7308 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.2352, allocations: 11.86 kB / 0.7308 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.2355, allocations: 174.9 kB / 0.731 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.2356, allocations: 0 / 0.731 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.2356, allocations: 4 kB / 0.731 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.2362, allocations: 77.59 kB / 0.7311 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2363, allocations: 0 / 0.7311 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.2363, allocations: 0 / 0.7311 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.2364, allocations: 4 kB / 0.7311 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.2367, allocations: 47.92 kB / 0.7311 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009327/0.2377, allocations: 316.8 kB / 0.7314 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.2379, allocations: 50.5 kB / 0.7315 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.2379, allocations: 0 / 0.7315 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.2382, allocations: 91.55 kB / 0.7315 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 4.007e-06/0.2382, allocations: 7.984 kB / 0.7316 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006292/0.2389, allocations: 145.5 kB / 0.7317 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.2389, allocations: 63.28 kB / 0.7318 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.2391, allocations: 121.8 kB / 0.7319 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2391, allocations: 29.7 kB / 0.7319 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.2392, allocations: 96.23 kB / 0.732 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.2393, allocations: 19.83 kB / 0.732 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.2393, allocations: 0 / 0.732 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2394, allocations: 314.8 kB / 0.7323 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2396, allocations: 31.98 kB / 0.7323 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.2398, allocations: 54.55 kB / 0.7324 GB, free: 3.434 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.24, allocations: 31.98 kB / 0.7324 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.24, allocations: 0 / 0.7324 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004356/0.2404, allocations: 125.5 kB / 0.7325 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.2405, allocations: 4 kB / 0.7325 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2405, allocations: 0 / 0.7325 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.2405, allocations: 7.953 kB / 0.7326 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2407, allocations: 11.94 kB / 0.7326 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.2407, allocations: 3.984 kB / 0.7326 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.2408, allocations: 15.84 kB / 0.7326 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.2409, allocations: 8 kB / 0.7326 GB, free: 3.223 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.0001263/0.241, allocations: 117.9 kB / 0.7327 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.241, allocations: 4 kB / 0.7327 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.2411, allocations: 8.359 kB / 0.7327 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2411, allocations: 3.953 kB / 0.7327 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2411, allocations: 0 / 0.7327 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2411, allocations: 0 / 0.7327 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007023/0.2418, allocations: 398.3 kB / 0.7331 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.2418, allocations: 0 / 0.7331 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/0.2419, allocations: 7.938 kB / 0.7331 GB, free: 2.629 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.2419, allocations: 3.953 kB / 0.7331 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.242, allocations: 3.984 kB / 0.7331 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.242, allocations: 4 kB / 0.7331 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.242, allocations: 0 / 0.7331 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.2424, allocations: 219.4 kB / 0.7333 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.2425, allocations: 77.11 kB / 0.7334 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.2425, allocations: 7.938 kB / 0.7334 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.2427, allocations: 4 kB / 0.7334 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.2428, allocations: 7.984 kB / 0.7334 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.2428, allocations: 8 kB / 0.7334 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.578e-05/0.2429, allocations: 95.27 kB / 0.7335 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2429, allocations: 0 / 0.7335 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004281/0.2433, allocations: 36 kB / 0.7336 GB, free: 2.137 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.001122/0.2445, allocations: 0.807 MB / 0.7343 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003847/0.2449, allocations: 75.89 kB / 0.7344 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2449, allocations: 4.125 kB / 0.7344 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.2451, allocations: 43.91 kB / 0.7345 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.2453, allocations: 14.7 kB / 0.7345 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009566/0.2463, allocations: 0.7264 MB / 0.7352 GB, free: 408 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.2466, allocations: 0.6965 MB / 0.7359 GB, free: 15.68 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.301e-05/0.2467, allocations: 12.17 kB / 0.7359 GB, free: 15.66 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.2468, allocations: 15.42 kB / 0.7359 GB, free: 15.65 MB / 0.573 GB Notification: Performance of SimCode: time 8.22e-07/0.2468, allocations: 7.938 kB / 0.7359 GB, free: 15.64 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.2726, allocations: 2.31 MB / 0.7382 GB, free: 13.44 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003752/0.273, allocations: 253.9 kB / 0.7384 GB, free: 13.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.856/3.129, allocations: 0 / 0.7384 GB, free: 13.1 MB / 0.573 GB