Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.01024/0.01024, allocations: 88.7 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.001205/0.001204, allocations: 172.9 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.257/2.257, allocations: 205.5 MB / 222.2 MB, free: 13.71 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 3.007/3.007, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006542/0.0006543, allocations: 11.97 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2302, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002141/0.2324, allocations: 1.183 MB / 0.7292 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.2342, allocations: 0.7228 MB / 0.7299 GB, free: 8.215 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.2343, allocations: 4 kB / 0.7299 GB, free: 8.211 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.2344, allocations: 3.938 kB / 0.7299 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.2345, allocations: 3.984 kB / 0.7299 GB, free: 8.203 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.2351, allocations: 103.7 kB / 0.73 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.2352, allocations: 43.89 kB / 0.7301 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2354, allocations: 15.97 kB / 0.7301 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2355, allocations: 27.91 kB / 0.7301 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.2356, allocations: 31.91 kB / 0.7302 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.2356, allocations: 4 kB / 0.7302 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.2359, allocations: 71.86 kB / 0.7302 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.2359, allocations: 11.98 kB / 0.7302 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.2359, allocations: 37.64 kB / 0.7303 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.2362, allocations: 104 kB / 0.7304 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2362, allocations: 4 kB / 0.7304 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2362, allocations: 4 kB / 0.7304 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2362, allocations: 0 / 0.7304 GB, free: 7.746 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.0007487/0.237, allocations: 400.9 kB / 0.7308 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.2371, allocations: 8.031 kB / 0.7308 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.2371, allocations: 38.55 kB / 0.7308 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.2372, allocations: 7.859 kB / 0.7308 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.2373, allocations: 174.9 kB / 0.731 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.2374, allocations: 8 kB / 0.731 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.2374, allocations: 4 kB / 0.731 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.2377, allocations: 69.59 kB / 0.7311 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2377, allocations: 0 / 0.7311 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.2377, allocations: 3.938 kB / 0.7311 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.2378, allocations: 4 kB / 0.7311 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.238, allocations: 51.92 kB / 0.7311 GB, free: 6.883 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000901/0.2389, allocations: 312.8 kB / 0.7314 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.2391, allocations: 58.5 kB / 0.7315 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.2392, allocations: 4 kB / 0.7315 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.2395, allocations: 75.5 kB / 0.7315 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 5.671e-06/0.2395, allocations: 0 / 0.7315 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006399/0.2402, allocations: 161.4 kB / 0.7317 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.2402, allocations: 55.34 kB / 0.7317 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.2404, allocations: 125.8 kB / 0.7319 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.2404, allocations: 25.7 kB / 0.7319 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.2405, allocations: 100.3 kB / 0.732 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.2405, allocations: 11.83 kB / 0.732 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.2406, allocations: 8 kB / 0.732 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2407, allocations: 318.8 kB / 0.7323 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.2408, allocations: 23.98 kB / 0.7323 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.241, allocations: 50.55 kB / 0.7324 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.2412, allocations: 39.98 kB / 0.7324 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2412, allocations: 0 / 0.7324 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004158/0.2416, allocations: 113.5 kB / 0.7325 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.2417, allocations: 8 kB / 0.7325 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2417, allocations: 64 / 0.7325 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.2417, allocations: 11.95 kB / 0.7325 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2419, allocations: 15.94 kB / 0.7326 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.2419, allocations: 3.984 kB / 0.7326 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.242, allocations: 11.91 kB / 0.7326 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.2421, allocations: 4 kB / 0.7326 GB, free: 5.242 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 (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 0.0001243/0.2422, allocations: 113.8 kB / 0.7327 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.2423, allocations: 4 kB / 0.7327 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.2423, allocations: 16.36 kB / 0.7327 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2423, allocations: 7.953 kB / 0.7327 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2424, allocations: 0 / 0.7327 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2424, allocations: 0 / 0.7327 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007167/0.2431, allocations: 390.3 kB / 0.7331 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2431, allocations: 3.938 kB / 0.7331 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.2432, allocations: 15.98 kB / 0.7331 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.2432, allocations: 3.953 kB / 0.7331 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.2432, allocations: 3.984 kB / 0.7331 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2433, allocations: 0 / 0.7331 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2433, allocations: 0 / 0.7331 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.2438, allocations: 215.4 kB / 0.7333 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.2438, allocations: 85.05 kB / 0.7334 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.2439, allocations: 11.94 kB / 0.7334 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.244, allocations: 4 kB / 0.7334 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.2441, allocations: 7.984 kB / 0.7334 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.2441, allocations: 0 / 0.7334 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.2e-05/0.2442, allocations: 91.27 kB / 0.7335 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2442, allocations: 0 / 0.7335 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004276/0.2447, allocations: 36 kB / 0.7335 GB, free: 4.152 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 (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.001171/0.2458, allocations: 0.822 MB / 0.7344 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003998/0.2463, allocations: 71.97 kB / 0.7344 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2463, allocations: 0 / 0.7344 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.2465, allocations: 48.03 kB / 0.7345 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.2467, allocations: 7.953 kB / 0.7345 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2478, allocations: 0.7225 MB / 0.7352 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.2482, allocations: 0.6965 MB / 0.7359 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.229e-05/0.2483, allocations: 4.188 kB / 0.7359 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.2484, allocations: 31.36 kB / 0.7359 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of SimCode: time 1.222e-06/0.2484, allocations: 0 / 0.7359 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.2755, allocations: 2.314 MB / 0.7382 GB, free: 15.46 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004688/0.276, allocations: 248.9 kB / 0.7384 GB, free: 15.12 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/2.725, allocations: 0 / 0.7384 GB, free: 15.12 MB / 0.573 GB