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.Nicol2001WindowsEU.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.Nicol2001WindowsEU,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01088/0.01089, allocations: 107.6 kB / 15.06 MB, free: 5.555 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.001171/0.001171, allocations: 185.3 kB / 15.95 MB, free: 5.52 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.056/2.056, allocations: 194.5 MB / 211.3 MB, free: 10.98 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.352/2.352, allocations: 236.1 MB / 492.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005053, allocations: 20 kB / 0.587 GB, free: 1.969 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6913/0.6919, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002086/0.694, allocations: 1.162 MB / 0.6846 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.6957, allocations: 0.7133 MB / 0.6853 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.6958, allocations: 1.062 kB / 0.6853 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.6959, allocations: 0.8906 kB / 0.6853 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.707e-05/0.696, allocations: 18.92 kB / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.6967, allocations: 87.78 kB / 0.6854 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.6968, allocations: 46.95 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.6969, allocations: 5.969 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.6971, allocations: 42.48 kB / 0.6855 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.726e-05/0.6972, allocations: 28.02 kB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.6972, allocations: 4.125 kB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.6975, allocations: 64.98 kB / 0.6855 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.6975, allocations: 15.91 kB / 0.6856 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.6976, allocations: 38.66 kB / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.6979, allocations: 98.78 kB / 0.6857 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6979, allocations: 0 / 0.6857 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6979, allocations: 1.156 kB / 0.6857 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.6979, allocations: 0 / 0.6857 GB, free: 15.26 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.000719/0.6986, allocations: 413.2 kB / 0.6861 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.6987, allocations: 8.844 kB / 0.6861 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.185e-05/0.6988, allocations: 34.27 kB / 0.6861 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.6988, allocations: 15.25 kB / 0.6861 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.699, allocations: 172.4 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.699, allocations: 7.344 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.699, allocations: 3.906 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.6993, allocations: 74.77 kB / 0.6864 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.6993, allocations: 0 / 0.6864 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.6994, allocations: 4.703 kB / 0.6864 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.6994, allocations: 1.281 kB / 0.6864 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.6996, allocations: 53.48 kB / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008114/0.7004, allocations: 310.5 kB / 0.6867 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.7007, allocations: 52.27 kB / 0.6868 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.7007, allocations: 5.125 kB / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.701, allocations: 80.7 kB / 0.6869 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 3.116e-06/0.701, allocations: 0 / 0.6869 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006436/0.7017, allocations: 156.8 kB / 0.687 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.7017, allocations: 53.62 kB / 0.6871 GB, free: 14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.7018, allocations: 120.4 kB / 0.6872 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.7019, allocations: 31.02 kB / 0.6872 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.702, allocations: 90.95 kB / 0.6873 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.702, allocations: 20.56 kB / 0.6873 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.702, allocations: 1.406 kB / 0.6873 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.7021, allocations: 318.8 kB / 0.6876 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.7022, allocations: 32.72 kB / 0.6877 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.7024, allocations: 53.77 kB / 0.6877 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.7026, allocations: 38.5 kB / 0.6878 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7026, allocations: 0 / 0.6878 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004115/0.703, allocations: 117.5 kB / 0.6879 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.7031, allocations: 9.906 kB / 0.6879 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7031, allocations: 1.125 kB / 0.6879 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.7031, allocations: 5.625 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.7033, allocations: 13.09 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.7033, allocations: 1.062 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.7034, allocations: 14.44 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.7035, allocations: 4.859 kB / 0.6879 GB, free: 13.3 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.0001159/0.7036, allocations: 123.5 kB / 0.688 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.7036, allocations: 6 kB / 0.688 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.7037, allocations: 10.64 kB / 0.688 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.7037, allocations: 9.891 kB / 0.6881 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7037, allocations: 0 / 0.6881 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7037, allocations: 2.062 kB / 0.6881 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.7044, allocations: 384.3 kB / 0.6884 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7044, allocations: 0 / 0.6884 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.7045, allocations: 6.406 kB / 0.6884 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.7045, allocations: 3.953 kB / 0.6884 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.7045, allocations: 2.5 kB / 0.6884 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.7045, allocations: 0 / 0.6884 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7046, allocations: 2.219 kB / 0.6884 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.705, allocations: 225.4 kB / 0.6887 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.705, allocations: 83.64 kB / 0.6887 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.7051, allocations: 5.234 kB / 0.6887 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.7052, allocations: 5.281 kB / 0.6887 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.7053, allocations: 5.516 kB / 0.6887 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.7053, allocations: 2.906 kB / 0.6887 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.831e-05/0.7054, allocations: 107.6 kB / 0.6889 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7054, allocations: 5.344 kB / 0.6889 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004752/0.7059, allocations: 40.83 kB / 0.6889 GB, free: 12.43 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.00103/0.7069, allocations: 0.7995 MB / 0.6897 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.7073, allocations: 77.16 kB / 0.6898 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7074, allocations: 0 / 0.6898 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.7075, allocations: 40.78 kB / 0.6898 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.7078, allocations: 15.73 kB / 0.6898 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.7088, allocations: 0.7169 MB / 0.6905 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.709, allocations: 0.6948 MB / 0.6912 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.979e-05/0.7091, allocations: 8.797 kB / 0.6912 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.7091, allocations: 21.47 kB / 0.6912 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.352e-06/0.7092, allocations: 0 / 0.6912 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.7373, allocations: 2.32 MB / 0.6935 GB, free: 10 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/0.7376, allocations: 246.5 kB / 0.6937 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.396, allocations: 0 / 0.6937 GB, free: 9.672 MB / 0.5261 GB