Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.831/1.831, allocations: 287.4 MB / 302.6 MB, free: 8.234 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.0008781/0.0008783, allocations: 187.8 kB / 371.1 MB, free: 10.85 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.379/1.379, allocations: 205.4 MB / 0.6298 GB, free: 10.62 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.0008445/0.0008445, allocations: 88.17 kB / 0.7431 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003664, allocations: 11.34 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1841, allocations: 115.3 MB / 0.9787 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001515/0.1857, allocations: 1.207 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1867, allocations: 0.7229 MB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.1868, allocations: 0 / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.1868, allocations: 3.938 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.1869, allocations: 7.938 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.1874, allocations: 95.77 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.108e-05/0.1875, allocations: 67.77 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.1876, allocations: 12 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.883e-05/0.1877, allocations: 27.91 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.1877, allocations: 35.89 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1878, allocations: 4 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1879, allocations: 87.84 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.1879, allocations: 19.91 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.188, allocations: 29.7 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1881, allocations: 96.05 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.1882, allocations: 8 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1882, allocations: 0 / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1882, allocations: 0 / 0.9811 GB, free: 25.69 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.0005214/0.1887, allocations: 405 kB / 0.9815 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1888, allocations: 8.031 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.1888, allocations: 34.75 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.1888, allocations: 8.844 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.23e-05/0.1889, allocations: 188.2 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.189, allocations: 8.359 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.189, allocations: 4.375 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1891, allocations: 73.78 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1892, allocations: 0 / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1892, allocations: 0 / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1892, allocations: 4 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.1893, allocations: 43.97 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.1898, allocations: 316.7 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.19, allocations: 54.5 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.271e-05/0.19, allocations: 36.97 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1901, allocations: 0 / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.1902, allocations: 87.42 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1903, allocations: 4 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003388/0.1906, allocations: 149.5 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.1906, allocations: 51.41 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/0.1907, allocations: 125.8 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.1907, allocations: 25.7 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.1908, allocations: 104.1 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.1908, allocations: 15.81 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.1908, allocations: 0 / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.1908, allocations: 322.8 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.3e-05/0.1909, allocations: 31.98 kB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-05/0.191, allocations: 58.48 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.1911, allocations: 78.48 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1912, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001955/0.1914, allocations: 125.5 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1914, allocations: 4 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1914, allocations: 4 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1914, allocations: 0 / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.1915, allocations: 11.98 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1915, allocations: 7.938 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/0.1916, allocations: 11.97 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1916, allocations: 7.984 kB / 0.9834 GB, free: 23.08 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.685e-05/0.1917, allocations: 121.8 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.1917, allocations: 4 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.1917, allocations: 4.375 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1917, allocations: 0 / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1917, allocations: 0 / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1917, allocations: 0 / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.1921, allocations: 402.2 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1921, allocations: 0 / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.1922, allocations: 7.984 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1922, allocations: 0 / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1922, allocations: 4 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1922, allocations: 3.938 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1922, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1924, allocations: 219.4 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.1925, allocations: 77.11 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1925, allocations: 0 / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.1926, allocations: 11.88 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.1926, allocations: 19.92 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1926, allocations: 4 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.1927, allocations: 99.2 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1927, allocations: 0 / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002644/0.1929, allocations: 39.98 kB / 0.9844 GB, free: 21.98 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.0005915/0.1935, allocations: 0.7985 MB / 0.9851 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1938, allocations: 83.94 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1938, allocations: 4 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.43e-05/0.1939, allocations: 35.92 kB / 0.9853 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1941, allocations: 13.81 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007973/0.1949, allocations: 0.6125 MB / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.195, allocations: 0.6848 MB / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.783e-05/0.1951, allocations: 11.97 kB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.1951, allocations: 19.44 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.1951, allocations: 3.938 kB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.2068, allocations: 2.311 MB / 0.9888 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.207, allocations: 248.3 kB / 0.9891 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/1.738, allocations: 0.9375 kB / 0.9891 GB, free: 17.17 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)