Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005812/0.005819, allocations: 236.9 kB / 15.8 MB, free: 6.281 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001809/0.001808, allocations: 183.4 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.875/3.875, allocations: 389.1 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.911/3.911, allocations: 472.3 MB / 0.9024 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004672, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1866, allocations: 98.71 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001384/0.188, allocations: 1.046 MB / 1.106 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.1888, allocations: 324 kB / 1.106 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.1888, allocations: 0 / 1.106 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.645e-05/0.1889, allocations: 3.469 kB / 1.106 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.441e-05/0.189, allocations: 3.938 kB / 1.106 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.1894, allocations: 67.78 kB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.1894, allocations: 27.92 kB / 1.106 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.1895, allocations: 4 kB / 1.106 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.784e-05/0.1895, allocations: 11.98 kB / 1.106 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.1896, allocations: 15.91 kB / 1.106 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1896, allocations: 4 kB / 1.106 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.1898, allocations: 67.03 kB / 1.106 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.1899, allocations: 31.91 kB / 1.106 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.1899, allocations: 37.64 kB / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.1901, allocations: 87.84 kB / 1.106 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1901, allocations: 0 / 1.106 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1901, allocations: 4 kB / 1.106 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.1901, allocations: 0 / 1.106 GB, free: 40.38 MB / 0.6042 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.000515/0.1906, allocations: 419.5 kB / 1.107 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1907, allocations: 16.02 kB / 1.107 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.746e-05/0.1908, allocations: 15.8 kB / 1.107 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.016e-05/0.1909, allocations: 174.9 kB / 1.107 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1909, allocations: 0 / 1.107 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.191, allocations: 8 kB / 1.107 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1912, allocations: 181.4 kB / 1.107 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1912, allocations: 3.312 kB / 1.107 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1913, allocations: 4 kB / 1.107 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.1913, allocations: 3.953 kB / 1.107 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1914, allocations: 77.05 kB / 1.107 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.1916, allocations: 205.3 kB / 1.107 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.1918, allocations: 142.5 kB / 1.107 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1919, allocations: 116.7 kB / 1.108 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.1919, allocations: 0 / 1.108 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002881/0.1922, allocations: 208.3 kB / 1.108 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.874e-06/0.1922, allocations: 0 / 1.108 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0007822/0.193, allocations: 0.5568 MB / 1.108 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.1931, allocations: 83.94 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.1932, allocations: 129.7 kB / 1.109 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.1932, allocations: 53.69 kB / 1.109 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.1933, allocations: 85.14 kB / 1.109 GB, free: 37.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.6e-05/0.1934, allocations: 94.98 kB / 1.109 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.1934, allocations: 4 kB / 1.109 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.1935, allocations: 338.8 kB / 1.109 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.1938, allocations: 168.9 kB / 1.109 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.1941, allocations: 241.1 kB / 1.109 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.1945, allocations: 205.8 kB / 1.11 GB, free: 36.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1945, allocations: 3.531 kB / 1.11 GB, free: 36.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007839/0.1953, allocations: 499.5 kB / 1.11 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1953, allocations: 11.94 kB / 1.11 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.1953, allocations: 0 / 1.11 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1954, allocations: 4 kB / 1.11 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1955, allocations: 19.92 kB / 1.11 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1955, allocations: 4 kB / 1.11 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.1957, allocations: 45.64 kB / 1.11 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.1957, allocations: 8 kB / 1.11 GB, free: 36.11 MB / 0.6042 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.0002197/0.196, allocations: 205.9 kB / 1.11 GB, free: 35.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.196, allocations: 7.906 kB / 1.11 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.196, allocations: 9.203 kB / 1.11 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.196, allocations: 0 / 1.11 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.196, allocations: 0 / 1.11 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.1961, allocations: 96.8 kB / 1.111 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.505e-05/0.1961, allocations: 39.88 kB / 1.111 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-05/0.1962, allocations: 4.469 kB / 1.111 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.1962, allocations: 9.078 kB / 1.111 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006177/0.1969, allocations: 497.9 kB / 1.111 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006083/0.1975, allocations: 0.5832 MB / 1.112 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001373/0.1977, allocations: 119.9 kB / 1.112 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.892e-05/0.1977, allocations: 88.81 kB / 1.112 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of Backend: time 6.61e-07/0.1977, allocations: 0 / 1.112 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.1988, allocations: 390.3 kB / 1.112 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005931/0.1994, allocations: 0.732 MB / 1.113 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.005707/0.2051, allocations: 1.658 MB / 1.115 GB, free: 31.76 MB / 0.6042 GB