Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.877/1.877, allocations: 287.5 MB / 302.6 MB, free: 8.34 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.001278/0.001278, allocations: 176.8 kB / 371.2 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.688/1.688, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0009601/0.0009601, allocations: 97.06 kB / 0.7432 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 14.78 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1854, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001236/0.1867, allocations: 1.05 MB / 0.9797 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006247/0.1874, allocations: 320.1 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.1874, allocations: 0 / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.703e-05/0.1875, allocations: 3.938 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.1876, allocations: 0 / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.1879, allocations: 59.88 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.188, allocations: 47.83 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.188, allocations: 4 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.1881, allocations: 8 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.707e-05/0.1881, allocations: 15.92 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1881, allocations: 0 / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1883, allocations: 75.91 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.1883, allocations: 19.94 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.1884, allocations: 41.62 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1885, allocations: 99.77 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1885, allocations: 0 / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1885, allocations: 0 / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.1886, allocations: 7.938 kB / 0.9804 GB, free: 26.43 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004556/0.189, allocations: 412.5 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1891, allocations: 8.031 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1892, allocations: 16.73 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.497e-05/0.1893, allocations: 180.1 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.1893, allocations: 4.375 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.1893, allocations: 4.375 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1895, allocations: 178.2 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1895, allocations: 4.188 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1895, allocations: 3.938 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1895, allocations: 4 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.972e-05/0.1896, allocations: 75.97 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.1898, allocations: 197.4 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1899, allocations: 142.5 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.19, allocations: 116.6 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-06/0.19, allocations: 4 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.1902, allocations: 200.3 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 2.014e-06/0.1902, allocations: 0 / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0005395/0.1908, allocations: 0.5604 MB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.1908, allocations: 95.36 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.769e-05/0.1909, allocations: 121.7 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.1909, allocations: 53.69 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.669e-05/0.191, allocations: 89.14 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.191, allocations: 94.92 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.1911, allocations: 8 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.1911, allocations: 346.8 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.1913, allocations: 168.9 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.1915, allocations: 237.8 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.1919, allocations: 459.8 kB / 0.984 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1919, allocations: 0 / 0.984 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0004754/0.1924, allocations: 496.5 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1924, allocations: 12.06 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.1924, allocations: 4 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1924, allocations: 4 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.1925, allocations: 19.92 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1925, allocations: 4 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.1926, allocations: 35.59 kB / 0.9846 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.1927, allocations: 12 kB / 0.9846 GB, free: 21.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * 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 0.000144/0.1928, allocations: 198.9 kB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.1928, allocations: 15.83 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.524e-05/0.1928, allocations: 5.219 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1929, allocations: 8 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1929, allocations: 0 / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1929, allocations: 0 / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.694e-05/0.193, allocations: 197.4 kB / 0.985 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.193, allocations: 64 / 0.985 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-06/0.193, allocations: 7.938 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.193, allocations: 7.875 kB / 0.985 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.193, allocations: 0 / 0.985 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.193, allocations: 0 / 0.985 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.193, allocations: 240 / 0.985 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.1934, allocations: 480.7 kB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.1935, allocations: 92.94 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1935, allocations: 35.92 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-05/0.1936, allocations: 0 / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1936, allocations: 11.98 kB / 0.9856 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.1936, allocations: 0 / 0.9856 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.18e-05/0.1936, allocations: 79.28 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1936, allocations: 4 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002424/0.1939, allocations: 51.98 kB / 0.9857 GB, free: 20.62 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: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 35 (occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33],occ.occ,occ.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003577/0.1943, allocations: 218.4 kB / 0.9859 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.1946, allocations: 357.1 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1946, allocations: 0 / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-05/0.1947, allocations: 123.9 kB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.1949, allocations: 16.23 kB / 0.9864 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.1953, allocations: 341.8 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.1955, allocations: 0.7245 MB / 0.9874 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.1955, allocations: 17.42 kB / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.1956, allocations: 15.44 kB / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.1956, allocations: 0 / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.003561/0.1991, allocations: 1.625 MB / 0.989 GB, free: 17.16 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)