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.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",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.01468/0.01469, allocations: 88.36 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.001791/0.001792, allocations: 174 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.256/2.256, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.686/2.686, allocations: 252.8 MB / 0.511 GB, free: 8.371 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004805, allocations: 12.41 kB / 0.6243 GB, free: 28.09 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002195/0.2474, allocations: 1.183 MB / 0.7292 GB, free: 8.961 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.2492, allocations: 0.7188 MB / 0.7299 GB, free: 8.234 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.2492, allocations: 0 / 0.7299 GB, free: 8.234 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.2493, allocations: 3.984 kB / 0.7299 GB, free: 8.23 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.2494, allocations: 23.91 kB / 0.7299 GB, free: 8.207 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.25, allocations: 87.7 kB / 0.73 GB, free: 8.121 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.2501, allocations: 47.88 kB / 0.7301 GB, free: 8.074 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.2502, allocations: 11.98 kB / 0.7301 GB, free: 8.062 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.2503, allocations: 35.89 kB / 0.7301 GB, free: 8.027 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.2504, allocations: 27.91 kB / 0.7301 GB, free: 8 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2504, allocations: 4 kB / 0.7302 GB, free: 7.996 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.2507, allocations: 71.86 kB / 0.7302 GB, free: 7.926 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.2507, allocations: 11.98 kB / 0.7302 GB, free: 7.914 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.2508, allocations: 41.58 kB / 0.7303 GB, free: 7.867 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.251, allocations: 108 kB / 0.7304 GB, free: 7.762 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.251, allocations: 0 / 0.7304 GB, free: 7.762 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.944e-06/0.251, allocations: 0 / 0.7304 GB, free: 7.762 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2511, allocations: 0 / 0.7304 GB, free: 7.762 MB / 0.5574 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.0007343/0.2518, allocations: 400.9 kB / 0.7308 GB, free: 7.316 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.2519, allocations: 16.03 kB / 0.7308 GB, free: 7.301 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.148e-05/0.2519, allocations: 30.56 kB / 0.7308 GB, free: 7.262 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.252, allocations: 11.86 kB / 0.7308 GB, free: 7.25 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.2521, allocations: 170.9 kB / 0.731 GB, free: 7.043 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.2522, allocations: 4 kB / 0.731 GB, free: 7.039 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.2522, allocations: 7.984 kB / 0.731 GB, free: 7.031 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.2525, allocations: 73.59 kB / 0.7311 GB, free: 6.953 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2525, allocations: 0 / 0.7311 GB, free: 6.953 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.2525, allocations: 8 kB / 0.7311 GB, free: 6.945 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.2526, allocations: 3.984 kB / 0.7311 GB, free: 6.941 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.2528, allocations: 51.91 kB / 0.7311 GB, free: 6.891 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008597/0.2537, allocations: 312.8 kB / 0.7314 GB, free: 6.535 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.2539, allocations: 50.5 kB / 0.7315 GB, free: 6.477 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.2539, allocations: 0 / 0.7315 GB, free: 6.477 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002745/0.2542, allocations: 79.5 kB / 0.7315 GB, free: 6.387 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.2542, allocations: 0 / 0.7315 GB, free: 6.387 MB / 0.5574 GB Notification: Performance of matching and sorting (n=7): time 0.0006331/0.2549, allocations: 153.6 kB / 0.7317 GB, free: 6.23 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.2549, allocations: 63.33 kB / 0.7317 GB, free: 6.156 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2551, allocations: 117.8 kB / 0.7319 GB, free: 6.031 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.2551, allocations: 41.64 kB / 0.7319 GB, free: 5.984 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.2552, allocations: 92.22 kB / 0.732 GB, free: 5.891 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.2552, allocations: 15.84 kB / 0.732 GB, free: 5.875 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.2552, allocations: 0 / 0.732 GB, free: 5.875 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2554, allocations: 318.8 kB / 0.7323 GB, free: 5.555 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2556, allocations: 27.98 kB / 0.7323 GB, free: 5.527 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.2557, allocations: 54.56 kB / 0.7324 GB, free: 5.465 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2559, allocations: 31.98 kB / 0.7324 GB, free: 5.434 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2559, allocations: 0 / 0.7324 GB, free: 5.434 MB / 0.5574 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004222/0.2564, allocations: 121.5 kB / 0.7325 GB, free: 5.309 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2564, allocations: 4 kB / 0.7325 GB, free: 5.305 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2564, allocations: 0 / 0.7325 GB, free: 5.305 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.2564, allocations: 7.953 kB / 0.7325 GB, free: 5.297 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.2566, allocations: 11.98 kB / 0.7326 GB, free: 5.285 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2566, allocations: 3.938 kB / 0.7326 GB, free: 5.281 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.2568, allocations: 11.91 kB / 0.7326 GB, free: 5.27 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2568, allocations: 4 kB / 0.7326 GB, free: 5.266 MB / 0.5574 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.0001392/0.2569, allocations: 125.8 kB / 0.7327 GB, free: 5.133 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.257, allocations: 4 kB / 0.7327 GB, free: 5.129 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.257, allocations: 8.375 kB / 0.7327 GB, free: 5.121 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.257, allocations: 3.953 kB / 0.7327 GB, free: 5.117 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2571, allocations: 0 / 0.7327 GB, free: 5.117 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2571, allocations: 0 / 0.7327 GB, free: 5.117 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008035/0.2579, allocations: 398.3 kB / 0.7331 GB, free: 4.672 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.2579, allocations: 0 / 0.7331 GB, free: 4.672 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.258, allocations: 11.92 kB / 0.7331 GB, free: 4.66 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-06/0.258, allocations: 3.953 kB / 0.7331 GB, free: 4.656 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.258, allocations: 0 / 0.7331 GB, free: 4.656 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.258, allocations: 8 kB / 0.7331 GB, free: 4.648 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2581, allocations: 0 / 0.7331 GB, free: 4.648 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.2585, allocations: 223.9 kB / 0.7333 GB, free: 4.414 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.2586, allocations: 81.05 kB / 0.7334 GB, free: 4.316 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.2586, allocations: 3.953 kB / 0.7334 GB, free: 4.312 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2588, allocations: 4 kB / 0.7334 GB, free: 4.309 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.2589, allocations: 7.984 kB / 0.7334 GB, free: 4.301 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.2589, allocations: 4 kB / 0.7334 GB, free: 4.297 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 8.018e-05/0.259, allocations: 95.27 kB / 0.7335 GB, free: 4.203 MB / 0.5574 GB Notification: Performance of sort global known variables: time 4.01e-07/0.259, allocations: 0 / 0.7335 GB, free: 4.203 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004176/0.2594, allocations: 39.98 kB / 0.7336 GB, free: 4.164 MB / 0.5574 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.00116/0.2606, allocations: 0.8111 MB / 0.7343 GB, free: 3.344 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.261, allocations: 75.95 kB / 0.7344 GB, free: 3.27 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.261, allocations: 4 kB / 0.7344 GB, free: 3.266 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.2612, allocations: 39.91 kB / 0.7345 GB, free: 3.227 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.2615, allocations: 11.95 kB / 0.7345 GB, free: 3.215 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.2626, allocations: 0.7265 MB / 0.7352 GB, free: 2.43 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.263, allocations: 0.7003 MB / 0.7359 GB, free: 1.703 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 5.824e-05/0.263, allocations: 4.188 kB / 0.7359 GB, free: 1.699 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.2631, allocations: 23.42 kB / 0.7359 GB, free: 1.68 MB / 0.5574 GB Notification: Performance of SimCode: time 1.062e-06/0.2631, allocations: 0 / 0.7359 GB, free: 1.68 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.2862, allocations: 2.327 MB / 0.7382 GB, free: 15.47 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/0.2865, allocations: 259.8 kB / 0.7384 GB, free: 15.13 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/2.912, allocations: 0 / 0.7384 GB, free: 15.13 MB / 0.573 GB