Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 288.4 MB / 303.6 MB, free: 8.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002106/0.002106, allocations: 172.5 kB / 372.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 0.631 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007547/0.000755, allocations: 106.7 kB / 0.7444 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003878, allocations: 15.31 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1984, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001361/0.1998, allocations: 1.187 MB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.2008, allocations: 0.7266 MB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.2009, allocations: 0 / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.2009, allocations: 7.922 kB / 0.9821 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.201, allocations: 7.938 kB / 0.9821 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.2015, allocations: 95.77 kB / 0.9822 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.66e-05/0.2016, allocations: 63.77 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.2017, allocations: 16 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.585e-05/0.2018, allocations: 27.91 kB / 0.9823 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.2018, allocations: 35.84 kB / 0.9823 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2019, allocations: 4 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.202, allocations: 83.91 kB / 0.9824 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.2021, allocations: 19.91 kB / 0.9824 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.2021, allocations: 49.56 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.2023, allocations: 104 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2023, allocations: 0 / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2023, allocations: 4 kB / 0.9825 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2023, allocations: 4 kB / 0.9825 GB, free: 24.85 MB / 0.6198 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.0005875/0.2029, allocations: 405.5 kB / 0.9829 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.203, allocations: 8.031 kB / 0.9829 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.203, allocations: 38.73 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.203, allocations: 8.844 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.567e-05/0.2031, allocations: 176.2 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2032, allocations: 4.375 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.2032, allocations: 8.375 kB / 0.9832 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2034, allocations: 77.72 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2034, allocations: 3.984 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2034, allocations: 0 / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2034, allocations: 7.984 kB / 0.9833 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.2035, allocations: 35.98 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.2041, allocations: 324.8 kB / 0.9836 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.2042, allocations: 54.5 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.2043, allocations: 36.97 kB / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2043, allocations: 0 / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.2045, allocations: 79.38 kB / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.2045, allocations: 3.938 kB / 0.9838 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003598/0.2049, allocations: 145.5 kB / 0.9839 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.2049, allocations: 59.33 kB / 0.984 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.205, allocations: 121.8 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.205, allocations: 25.7 kB / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.205, allocations: 104 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.2051, allocations: 15.91 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.2051, allocations: 0 / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.2051, allocations: 322.8 kB / 0.9845 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.2052, allocations: 35.92 kB / 0.9846 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.2053, allocations: 46.56 kB / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.2054, allocations: 82.8 kB / 0.9847 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2055, allocations: 0 / 0.9847 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002048/0.2057, allocations: 125.5 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2057, allocations: 4 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2057, allocations: 4 kB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2057, allocations: 0 / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.2058, allocations: 11.98 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2058, allocations: 8 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.2059, allocations: 7.906 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.2059, allocations: 4 kB / 0.9848 GB, free: 22.25 MB / 0.6198 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 6.72e-05/0.206, allocations: 135.2 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.206, allocations: 8 kB / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.206, allocations: 4.375 kB / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.206, allocations: 0 / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2061, allocations: 0 / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2061, allocations: 4 kB / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.2064, allocations: 390.4 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2064, allocations: 0 / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.2065, allocations: 11.92 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2065, allocations: 0 / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2065, allocations: 4 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2065, allocations: 3.938 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2065, allocations: 0 / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.2068, allocations: 215.4 kB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.2068, allocations: 81.09 kB / 0.9857 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.2068, allocations: 0 / 0.9857 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.2069, allocations: 7.938 kB / 0.9857 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.207, allocations: 7.984 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.207, allocations: 11.94 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.207, allocations: 95.27 kB / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.207, allocations: 0 / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002742/0.2073, allocations: 35.94 kB / 0.9858 GB, free: 21.16 MB / 0.6198 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.0006082/0.2079, allocations: 0.809 MB / 0.9866 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.2082, allocations: 76.27 kB / 0.9867 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2082, allocations: 4.062 kB / 0.9867 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.579e-05/0.2083, allocations: 39.98 kB / 0.9867 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.2085, allocations: 7.938 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008241/0.2093, allocations: 0.6261 MB / 0.9873 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.2095, allocations: 0.6887 MB / 0.988 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.2095, allocations: 4 kB / 0.988 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.2095, allocations: 23.42 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.2096, allocations: 0 / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.2259, allocations: 2.351 MB / 0.9903 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.2261, allocations: 261.8 kB / 0.9906 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/1.763, allocations: 0 / 0.9906 GB, free: 16.29 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)