Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01261/0.01261, allocations: 220.5 kB / 15.17 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001184/0.001184, allocations: 182 kB / 16.06 MB, free: 5.871 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.736/3.736, allocations: 389.1 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.115/4.115, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005081/0.0005083, allocations: 12 kB / 1.008 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6344/0.6349, allocations: 98.72 MB / 1.104 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001618/0.6366, allocations: 1.172 MB / 1.105 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.638, allocations: 0.6979 MB / 1.106 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.638, allocations: 0 / 1.106 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.6381, allocations: 3.984 kB / 1.106 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-05/0.6381, allocations: 13.84 kB / 1.106 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.6386, allocations: 87.77 kB / 1.106 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.6388, allocations: 63.77 kB / 1.106 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.6389, allocations: 18.42 kB / 1.106 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.639, allocations: 31.8 kB / 1.106 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.639, allocations: 39.88 kB / 1.106 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.6391, allocations: 4 kB / 1.106 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.6393, allocations: 75.86 kB / 1.106 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.6393, allocations: 14.8 kB / 1.106 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.6394, allocations: 41.62 kB / 1.106 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.6396, allocations: 85.39 kB / 1.106 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.6396, allocations: 4 kB / 1.106 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6396, allocations: 0 / 1.106 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.6396, allocations: 3.938 kB / 1.106 GB, free: 8.34 MB / 0.5105 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.0005762/0.6402, allocations: 414.1 kB / 1.107 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.6402, allocations: 9.312 kB / 1.107 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.6403, allocations: 38.55 kB / 1.107 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.6403, allocations: 11.86 kB / 1.107 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.6404, allocations: 166.9 kB / 1.107 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.6405, allocations: 9.844 kB / 1.107 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.6405, allocations: 7.938 kB / 1.107 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.6407, allocations: 65.66 kB / 1.107 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.6408, allocations: 0.8438 kB / 1.107 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.6408, allocations: 7.984 kB / 1.107 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.6408, allocations: 4.562 kB / 1.107 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.641, allocations: 41.66 kB / 1.107 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.6418, allocations: 321.5 kB / 1.107 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.6419, allocations: 54.5 kB / 1.108 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.6421, allocations: 32.97 kB / 1.108 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.6421, allocations: 7.438 kB / 1.108 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.6423, allocations: 79.33 kB / 1.108 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 2.825e-06/0.6424, allocations: 3.984 kB / 1.108 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.0005275/0.6429, allocations: 151.4 kB / 1.108 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.6429, allocations: 60.27 kB / 1.108 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.643, allocations: 113.8 kB / 1.108 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.6431, allocations: 34.8 kB / 1.108 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.6431, allocations: 96.16 kB / 1.108 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.6431, allocations: 21.89 kB / 1.108 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.6432, allocations: 0 / 1.108 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.868e-05/0.6432, allocations: 322.8 kB / 1.108 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.6434, allocations: 27.98 kB / 1.108 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.6435, allocations: 56.84 kB / 1.108 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.6437, allocations: 37.64 kB / 1.109 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6437, allocations: 0 / 1.109 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003373/0.644, allocations: 115.7 kB / 1.109 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6441, allocations: 5.438 kB / 1.109 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6441, allocations: 7.953 kB / 1.109 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.6441, allocations: 0 / 1.109 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.6442, allocations: 15.92 kB / 1.109 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.6443, allocations: 4.719 kB / 1.109 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.6444, allocations: 12.56 kB / 1.109 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.6444, allocations: 4.719 kB / 1.109 GB, free: 5.809 MB / 0.5105 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 8.438e-05/0.6445, allocations: 121.9 kB / 1.109 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.6445, allocations: 7.906 kB / 1.109 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.6446, allocations: 8.375 kB / 1.109 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6446, allocations: 3.953 kB / 1.109 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6446, allocations: 0 / 1.109 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6446, allocations: 4 kB / 1.109 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.6451, allocations: 386.5 kB / 1.109 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6451, allocations: 4 kB / 1.109 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.6452, allocations: 7.984 kB / 1.109 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6452, allocations: 3.953 kB / 1.109 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.6452, allocations: 4 kB / 1.109 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.6453, allocations: 0 / 1.109 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6453, allocations: 0 / 1.109 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.6456, allocations: 223.3 kB / 1.109 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.6457, allocations: 84.95 kB / 1.109 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.6457, allocations: 3.953 kB / 1.109 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.6459, allocations: 11.94 kB / 1.11 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.6459, allocations: 3.984 kB / 1.11 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.6459, allocations: 4 kB / 1.11 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.519e-05/0.646, allocations: 95.27 kB / 1.11 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/0.646, allocations: 0 / 1.11 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003688/0.6464, allocations: 43.92 kB / 1.11 GB, free: 4.699 MB / 0.5105 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.0008298/0.6472, allocations: 0.8111 MB / 1.11 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003238/0.6476, allocations: 71.95 kB / 1.111 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6476, allocations: 4.125 kB / 1.111 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.6477, allocations: 35.92 kB / 1.111 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.6481, allocations: 15.95 kB / 1.111 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.6494, allocations: 0.6032 MB / 1.111 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.6496, allocations: 0.7004 MB / 1.112 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.62e-05/0.6496, allocations: 4.188 kB / 1.112 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.6497, allocations: 23.42 kB / 1.112 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of SimCode: time 8.22e-07/0.6497, allocations: 0 / 1.112 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.6723, allocations: 2.355 MB / 1.114 GB, free: 144 kB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003467/0.6727, allocations: 262.4 kB / 1.114 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.129, allocations: 4.984 kB / 1.114 GB, free: 15.78 MB / 0.5261 GB