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.Nicol2001WindowsUK.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.Nicol2001WindowsUK,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01565/0.01565, allocations: 108.5 kB / 15.06 MB, free: 6.031 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.001916/0.001916, allocations: 179.4 kB / 15.95 MB, free: 5.957 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 2.068/2.068, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.414/2.414, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006711/0.0006714, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7499/0.7506, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001864/0.7525, allocations: 1.162 MB / 0.6846 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.7541, allocations: 0.7088 MB / 0.6853 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.7542, allocations: 0 / 0.6853 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.7543, allocations: 0.75 kB / 0.6853 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.7544, allocations: 16.06 kB / 0.6853 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.755, allocations: 91.17 kB / 0.6854 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.7551, allocations: 43.16 kB / 0.6854 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.778e-05/0.7552, allocations: 14.98 kB / 0.6854 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.7553, allocations: 29.97 kB / 0.6854 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.7554, allocations: 36.64 kB / 0.6855 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.7555, allocations: 4.062 kB / 0.6855 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.7557, allocations: 68.55 kB / 0.6856 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.7557, allocations: 15.62 kB / 0.6856 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.7558, allocations: 38.52 kB / 0.6856 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.756, allocations: 90.66 kB / 0.6857 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.756, allocations: 1.344 kB / 0.6857 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/0.756, allocations: 0 / 0.6857 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.7561, allocations: 0 / 0.6857 GB, free: 15.31 MB / 0.5261 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.0006576/0.7567, allocations: 417.9 kB / 0.6861 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.7568, allocations: 13.12 kB / 0.6861 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.7568, allocations: 32.95 kB / 0.6861 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.7569, allocations: 11.92 kB / 0.6861 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.796e-05/0.757, allocations: 176.5 kB / 0.6863 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.757, allocations: 7.234 kB / 0.6863 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.7571, allocations: 3.875 kB / 0.6863 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.7573, allocations: 66.58 kB / 0.6864 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.7573, allocations: 0 / 0.6864 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.7574, allocations: 9.188 kB / 0.6864 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.7574, allocations: 5.25 kB / 0.6864 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.7576, allocations: 44.7 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.7584, allocations: 311.6 kB / 0.6867 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.7586, allocations: 52.7 kB / 0.6868 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.7587, allocations: 1.312 kB / 0.6868 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.7589, allocations: 94.84 kB / 0.6869 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.759, allocations: 0 / 0.6869 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006057/0.7596, allocations: 149.6 kB / 0.687 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.7596, allocations: 57.33 kB / 0.6871 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.931e-05/0.7597, allocations: 116.5 kB / 0.6872 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.7598, allocations: 34.77 kB / 0.6872 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.7598, allocations: 93.83 kB / 0.6873 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.7599, allocations: 15.09 kB / 0.6873 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.7599, allocations: 0 / 0.6873 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.7599, allocations: 320.8 kB / 0.6876 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.7601, allocations: 28.25 kB / 0.6877 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.7603, allocations: 55.27 kB / 0.6877 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.7604, allocations: 43.3 kB / 0.6878 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7604, allocations: 0 / 0.6878 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004122/0.7609, allocations: 114.1 kB / 0.6879 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.7609, allocations: 5.703 kB / 0.6879 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.7609, allocations: 1.188 kB / 0.6879 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.7609, allocations: 4.984 kB / 0.6879 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.7611, allocations: 15.97 kB / 0.6879 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.7611, allocations: 2.203 kB / 0.6879 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.7612, allocations: 15.22 kB / 0.6879 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.7613, allocations: 2.719 kB / 0.6879 GB, free: 13.34 MB / 0.5261 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.0001178/0.7614, allocations: 124.1 kB / 0.688 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.7614, allocations: 7.062 kB / 0.688 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.7615, allocations: 11.12 kB / 0.688 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7615, allocations: 5.016 kB / 0.6881 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.7615, allocations: 1.172 kB / 0.6881 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.7615, allocations: 4.969 kB / 0.6881 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.7622, allocations: 387.2 kB / 0.6884 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7622, allocations: 0 / 0.6884 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.7622, allocations: 6.859 kB / 0.6884 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.7623, allocations: 5.422 kB / 0.6884 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.7623, allocations: 1.984 kB / 0.6884 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.7623, allocations: 0 / 0.6884 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7623, allocations: 5.422 kB / 0.6884 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.7627, allocations: 212.8 kB / 0.6886 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.7628, allocations: 87.23 kB / 0.6887 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.7628, allocations: 5.047 kB / 0.6887 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.7629, allocations: 9.719 kB / 0.6887 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.763, allocations: 2.562 kB / 0.6887 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.763, allocations: 11.14 kB / 0.6888 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.863e-05/0.7631, allocations: 94.86 kB / 0.6888 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7631, allocations: 0 / 0.6888 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004513/0.7636, allocations: 42.91 kB / 0.6889 GB, free: 12.48 MB / 0.5261 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.0009533/0.7645, allocations: 0.8081 MB / 0.6897 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.765, allocations: 81.52 kB / 0.6898 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.765, allocations: 0 / 0.6898 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.7652, allocations: 37.11 kB / 0.6898 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.7654, allocations: 16.31 kB / 0.6898 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008731/0.7663, allocations: 0.7152 MB / 0.6905 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.7665, allocations: 0.6987 MB / 0.6912 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.194e-05/0.7666, allocations: 5.375 kB / 0.6912 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.7666, allocations: 20.53 kB / 0.6912 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/0.7666, allocations: 0 / 0.6912 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.7939, allocations: 2.319 MB / 0.6935 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.7942, allocations: 249.4 kB / 0.6937 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/3.182, allocations: 1.312 kB / 0.6937 GB, free: 9.723 MB / 0.5261 GB