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.Nicol2001WindowsEU.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.Nicol2001WindowsEU,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.01036/0.01036, allocations: 88.39 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.001155/0.001154, allocations: 173 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.181/2.181, 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.752/2.752, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006361/0.0006362, allocations: 16.59 kB / 0.6243 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2396, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002108/0.2418, allocations: 1.175 MB / 0.7292 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.2436, allocations: 0.7266 MB / 0.7299 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.004e-05/0.2436, allocations: 4 kB / 0.7299 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.2436, allocations: 0 / 0.7299 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.154e-05/0.2437, allocations: 15.92 kB / 0.7299 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.2443, allocations: 87.7 kB / 0.73 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2445, allocations: 51.86 kB / 0.7301 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.2446, allocations: 19.97 kB / 0.7301 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2447, allocations: 23.92 kB / 0.7301 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.156e-05/0.2448, allocations: 39.89 kB / 0.7302 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.2448, allocations: 4 kB / 0.7302 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.245, allocations: 67.86 kB / 0.7302 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.2451, allocations: 11.98 kB / 0.7302 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.2451, allocations: 37.64 kB / 0.7303 GB, free: 7.887 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.2454, allocations: 108 kB / 0.7304 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2454, allocations: 0 / 0.7304 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2454, allocations: 0 / 0.7304 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2454, allocations: 0 / 0.7304 GB, free: 7.781 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.0007198/0.2461, allocations: 400.9 kB / 0.7308 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.2462, allocations: 12.03 kB / 0.7308 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.2463, allocations: 34.56 kB / 0.7308 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.2463, allocations: 11.86 kB / 0.7308 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.2465, allocations: 178.8 kB / 0.731 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.2465, allocations: 0 / 0.731 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.2466, allocations: 8 kB / 0.731 GB, free: 7.047 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.2468, allocations: 81.53 kB / 0.7311 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.2469, allocations: 0 / 0.7311 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.2469, allocations: 0 / 0.7311 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2469, allocations: 0 / 0.7311 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.2471, allocations: 47.92 kB / 0.7311 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008779/0.248, allocations: 316.8 kB / 0.7314 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.2482, allocations: 50.5 kB / 0.7315 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.2483, allocations: 0 / 0.7315 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.2486, allocations: 83.5 kB / 0.7315 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 4.318e-06/0.2486, allocations: 0 / 0.7315 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006394/0.2492, allocations: 153.4 kB / 0.7317 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.2493, allocations: 63.41 kB / 0.7318 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2495, allocations: 117.8 kB / 0.7319 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.2495, allocations: 29.7 kB / 0.7319 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.2496, allocations: 92.22 kB / 0.732 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.2496, allocations: 19.91 kB / 0.732 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.2496, allocations: 0 / 0.732 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2498, allocations: 318.8 kB / 0.7323 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.25, allocations: 35.98 kB / 0.7323 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.2501, allocations: 50.55 kB / 0.7324 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.2503, allocations: 28 kB / 0.7324 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2503, allocations: 0 / 0.7324 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000402/0.2507, allocations: 121.8 kB / 0.7325 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2508, allocations: 4 kB / 0.7325 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2508, allocations: 0 / 0.7325 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2508, allocations: 7.953 kB / 0.7325 GB, free: 5.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.251, allocations: 15.92 kB / 0.7326 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.251, allocations: 80 / 0.7326 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2511, allocations: 19.97 kB / 0.7326 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.2512, allocations: 11.97 kB / 0.7326 GB, free: 5.273 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.0001533/0.2513, allocations: 113.8 kB / 0.7327 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.2514, allocations: 4 kB / 0.7327 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.2514, allocations: 8.375 kB / 0.7327 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2514, allocations: 3.953 kB / 0.7327 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2514, allocations: 0 / 0.7327 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.2514, allocations: 3.984 kB / 0.7327 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007281/0.2522, allocations: 394.3 kB / 0.7331 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2522, allocations: 3.938 kB / 0.7331 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/0.2523, allocations: 7.984 kB / 0.7331 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.2523, allocations: 3.953 kB / 0.7331 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.2523, allocations: 4 kB / 0.7331 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2523, allocations: 4 kB / 0.7331 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2524, allocations: 7.938 kB / 0.7331 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.2528, allocations: 219.3 kB / 0.7333 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.2529, allocations: 77.11 kB / 0.7334 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.2529, allocations: 3.953 kB / 0.7334 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.2531, allocations: 11.98 kB / 0.7334 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.2532, allocations: 8 kB / 0.7334 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.2532, allocations: 4 kB / 0.7334 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.872e-05/0.2533, allocations: 91.27 kB / 0.7335 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2533, allocations: 0 / 0.7335 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004362/0.2537, allocations: 39.98 kB / 0.7336 GB, free: 4.18 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.001125/0.2549, allocations: 0.8065 MB / 0.7343 GB, free: 3.363 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.2553, allocations: 79.89 kB / 0.7344 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2553, allocations: 0 / 0.7344 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.2555, allocations: 40.31 kB / 0.7345 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.2558, allocations: 11.94 kB / 0.7345 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2569, allocations: 0.7267 MB / 0.7352 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2572, allocations: 0.6965 MB / 0.7359 GB, free: 1.727 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.499e-05/0.2573, allocations: 12.16 kB / 0.7359 GB, free: 1.715 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.2574, allocations: 15.44 kB / 0.7359 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of SimCode: time 1.232e-06/0.2574, allocations: 0 / 0.7359 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.2841, allocations: 2.318 MB / 0.7381 GB, free: 15.49 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/0.2844, allocations: 249.9 kB / 0.7384 GB, free: 15.16 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/2.94, allocations: 0 / 0.7384 GB, free: 15.16 MB / 0.573 GB