Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.603/1.603, allocations: 288.4 MB / 303.6 MB, free: 8.137 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.001242/0.001242, allocations: 184.4 kB / 372.3 MB, free: 10.1 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.441/1.441, allocations: 205.4 MB / 0.631 GB, free: 9.863 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.0007075/0.0007075, allocations: 102.2 kB / 0.7444 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003673, allocations: 16.53 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1808, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001377/0.1822, allocations: 1.203 MB / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1832, allocations: 0.7266 MB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.1833, allocations: 0 / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.1833, allocations: 7.922 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/0.1834, allocations: 7.938 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.1838, allocations: 95.77 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.516e-05/0.1839, allocations: 63.77 kB / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.184, allocations: 12 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.68e-05/0.1841, allocations: 31.91 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.1841, allocations: 35.89 kB / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1842, allocations: 4 kB / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1843, allocations: 79.86 kB / 0.9824 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.1843, allocations: 19.91 kB / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.1844, allocations: 57.55 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.1845, allocations: 100 kB / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1845, allocations: 0 / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1845, allocations: 0 / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.1845, allocations: 0 / 0.9826 GB, free: 24.76 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.0004514/0.185, allocations: 413 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.185, allocations: 8.031 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.1851, allocations: 34.73 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.1851, allocations: 8.844 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.723e-05/0.1852, allocations: 176.2 kB / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1852, allocations: 4.375 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.1852, allocations: 4.375 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1854, allocations: 81.77 kB / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.1854, allocations: 0 / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1854, allocations: 0 / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1854, allocations: 3.938 kB / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1855, allocations: 43.97 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.186, allocations: 320.8 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.1861, allocations: 50.5 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.895e-05/0.1862, allocations: 40.97 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1862, allocations: 0 / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.1864, allocations: 83.3 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1864, allocations: 0 / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003188/0.1867, allocations: 153.5 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.1867, allocations: 55.39 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.616e-05/0.1868, allocations: 117.8 kB / 0.9841 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.1868, allocations: 29.7 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.1868, allocations: 99.97 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.1869, allocations: 15.97 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-06/0.1869, allocations: 7.875 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.1869, allocations: 326.8 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.187, allocations: 27.98 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/0.1871, allocations: 50.56 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1872, allocations: 78.55 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1872, allocations: 0 / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001835/0.1874, allocations: 113.6 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.1874, allocations: 11.94 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1874, allocations: 0 / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1874, allocations: 4 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.961e-05/0.1875, allocations: 15.98 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1875, allocations: 0 / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.1876, allocations: 15.91 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1876, allocations: 0 / 0.9849 GB, free: 22.16 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 5.825e-05/0.1877, allocations: 130.9 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.1877, allocations: 0 / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.1877, allocations: 12.38 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1877, allocations: 0 / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1877, allocations: 3.938 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1877, allocations: 0 / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.188, allocations: 398.3 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1881, allocations: 0 / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.1881, allocations: 7.984 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1881, allocations: 0 / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.1881, allocations: 0 / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1881, allocations: 7.938 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1881, allocations: 0 / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.1883, allocations: 215.4 kB / 0.9856 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.1884, allocations: 85.09 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.1884, allocations: 3.938 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.1885, allocations: 7.938 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.1885, allocations: 11.92 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1885, allocations: 0 / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.835e-05/0.1886, allocations: 95.92 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1886, allocations: 4 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002335/0.1888, allocations: 39.98 kB / 0.9858 GB, free: 21.07 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.0005478/0.1894, allocations: 0.8121 MB / 0.9866 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1896, allocations: 75.89 kB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1896, allocations: 0 / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.1897, allocations: 36.11 kB / 0.9867 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.1899, allocations: 14.14 kB / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/0.1906, allocations: 0.606 MB / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.19e-05/0.1907, allocations: 0.6926 MB / 0.988 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.1908, allocations: 7.984 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.1908, allocations: 15.44 kB / 0.988 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1908, allocations: 3.938 kB / 0.988 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2083/0.3991, allocations: 2.339 MB / 0.9903 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.3994, allocations: 246.8 kB / 0.9906 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.143, allocations: 0 / 0.9906 GB, free: 16.22 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)