Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 191.6 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.69 kB / 0.6709 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1815, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002592/0.1841, allocations: 1.539 MB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1853, allocations: 0.7644 MB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.1853, allocations: 0 / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.1854, allocations: 7.922 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.358e-05/0.1855, allocations: 11.92 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.1859, allocations: 99.78 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.388e-05/0.186, allocations: 75.77 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.698e-05/0.1861, allocations: 11.98 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.1862, allocations: 35.86 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.059e-05/0.1863, allocations: 35.88 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1863, allocations: 3.938 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.1865, allocations: 95.84 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.1865, allocations: 15.92 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.1866, allocations: 31.84 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.1868, allocations: 139.9 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1868, allocations: 4 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.11e-07/0.1868, allocations: 0 / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.1868, allocations: 0 / 0.7856 GB, free: 11.04 MB / 0.6075 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.0005673/0.1874, allocations: 409 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1874, allocations: 12.03 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.1875, allocations: 38.73 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.1875, allocations: 8.844 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1876, allocations: 176.2 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.1876, allocations: 4.375 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1877, allocations: 12.3 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1878, allocations: 73.78 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.1879, allocations: 0 / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1879, allocations: 3.984 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1879, allocations: 0 / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.188, allocations: 35.98 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.1886, allocations: 324.7 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1887, allocations: 46.5 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.1888, allocations: 32.97 kB / 0.7867 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1889, allocations: 0 / 0.7867 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.189, allocations: 83.38 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.189, allocations: 0 / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003718/0.1894, allocations: 133.6 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1895, allocations: 55.39 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.1896, allocations: 125.8 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1896, allocations: 25.7 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.1897, allocations: 100.1 kB / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1897, allocations: 15.88 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.1897, allocations: 33.7 kB / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1898, allocations: 318.8 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.1899, allocations: 27.97 kB / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.851e-05/0.19, allocations: 46.94 kB / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1902, allocations: 82.42 kB / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1902, allocations: 0 / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002387/0.1904, allocations: 113.8 kB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1905, allocations: 4 kB / 0.7878 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1905, allocations: 4 kB / 0.7878 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.1905, allocations: 4.062 kB / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.1906, allocations: 11.94 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1906, allocations: 8.047 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.1907, allocations: 8 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1907, allocations: 8 kB / 0.7879 GB, free: 8.445 MB / 0.6075 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,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/0.1908, allocations: 125.7 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.1908, allocations: 7.906 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.1908, allocations: 12.36 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1909, allocations: 8 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1909, allocations: 0 / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1909, allocations: 0 / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.1913, allocations: 378.4 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1913, allocations: 0 / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.1914, allocations: 4 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1914, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1914, allocations: 3.984 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1914, allocations: 11.94 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1914, allocations: 0 / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.1917, allocations: 203.4 kB / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.1917, allocations: 85.02 kB / 0.7887 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1918, allocations: 3.984 kB / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.1919, allocations: 7.938 kB / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1919, allocations: 11.98 kB / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.1919, allocations: 4 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.192, allocations: 91.27 kB / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.192, allocations: 3.938 kB / 0.7888 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002925/0.1923, allocations: 39.94 kB / 0.7888 GB, free: 7.363 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007251/0.193, allocations: 0.8016 MB / 0.7896 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1932, allocations: 75.89 kB / 0.7897 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1932, allocations: 0 / 0.7897 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.1934, allocations: 31.98 kB / 0.7897 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1936, allocations: 16.61 kB / 0.7897 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1951, allocations: 1.503 MB / 0.7912 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.1954, allocations: 0.6926 MB / 0.7919 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.736e-05/0.1954, allocations: 4 kB / 0.7919 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.1954, allocations: 23.42 kB / 0.7919 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.1955, allocations: 0 / 0.7919 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.2068, allocations: 2.437 MB / 0.7943 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.207, allocations: 268.9 kB / 0.7945 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.845, allocations: 12 kB / 0.7945 GB, free: 1.449 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)