Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.5/1.5, allocations: 287.4 MB / 302.6 MB, free: 8.355 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.0009219/0.0009221, allocations: 181.1 kB / 371.1 MB, free: 10.83 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.288/1.288, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007051/0.0007051, allocations: 86.38 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 11.77 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1828, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.00136/0.1842, allocations: 1.203 MB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009631/0.1852, allocations: 0.7151 MB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.1853, allocations: 0 / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.1853, allocations: 3.938 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.1854, allocations: 19.91 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.1858, allocations: 95.77 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.1858, allocations: 59.78 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.273e-05/0.1859, allocations: 12 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.603e-05/0.186, allocations: 27.91 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.114e-05/0.1861, allocations: 35.89 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1861, allocations: 4 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1862, allocations: 91.84 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.1863, allocations: 11.98 kB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.1863, allocations: 33.64 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1864, allocations: 108 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1864, allocations: 0 / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.305e-06/0.1864, allocations: 0 / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1865, allocations: 0 / 0.9811 GB, free: 25.66 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.0005202/0.187, allocations: 409 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.187, allocations: 8.031 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.1871, allocations: 38.75 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.1871, allocations: 4.844 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.756e-05/0.1872, allocations: 184.1 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1872, allocations: 4.375 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.1872, allocations: 4.375 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1874, allocations: 77.77 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1874, allocations: 0 / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1874, allocations: 4 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1874, allocations: 4 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.1875, allocations: 39.97 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.188, allocations: 324.7 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.1881, allocations: 54.55 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.1882, allocations: 32.97 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1882, allocations: 0 / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.1884, allocations: 83.38 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.1884, allocations: 0 / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000327/0.1888, allocations: 153.5 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.1888, allocations: 55.41 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.969e-05/0.1889, allocations: 121.8 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1889, allocations: 29.7 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.1889, allocations: 95.98 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.1889, allocations: 15.89 kB / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.1889, allocations: 0 / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.189, allocations: 318.8 kB / 0.9831 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.1891, allocations: 35.98 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.662e-05/0.1892, allocations: 54.48 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1893, allocations: 82.48 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1893, allocations: 0 / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001983/0.1895, allocations: 113.5 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.1895, allocations: 4 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1896, allocations: 7.984 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1896, allocations: 4.062 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.1897, allocations: 8 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1897, allocations: 4 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.1897, allocations: 15.83 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1898, allocations: 8 kB / 0.9834 GB, free: 23.06 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.112e-05/0.1898, allocations: 125.7 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.1898, allocations: 4 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.1899, allocations: 12.36 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1899, allocations: 0 / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1899, allocations: 4 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1899, allocations: 0 / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.1902, allocations: 398.2 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1902, allocations: 0 / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.1903, allocations: 8 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1903, allocations: 0 / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.1903, allocations: 4 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1903, allocations: 7.922 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1903, allocations: 0 / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.1906, allocations: 219.9 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.1906, allocations: 77.11 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1906, allocations: 4 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.1907, allocations: 11.92 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1908, allocations: 3.938 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.1908, allocations: 7.984 kB / 0.9842 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.387e-05/0.1908, allocations: 99.2 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1908, allocations: 0 / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002504/0.1911, allocations: 32 kB / 0.9844 GB, free: 21.97 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.0005787/0.1917, allocations: 0.813 MB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1919, allocations: 71.91 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1919, allocations: 0 / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.192, allocations: 47.91 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.1922, allocations: 19.14 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008008/0.193, allocations: 0.6115 MB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.1931, allocations: 0.6887 MB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.391e-05/0.1932, allocations: 4 kB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.1932, allocations: 23.42 kB / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1932, allocations: 0 / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.2058, allocations: 2.316 MB / 0.9888 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/0.2059, allocations: 264.3 kB / 0.9891 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/1.963, allocations: 0 / 0.9891 GB, free: 17.13 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)