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.01582/0.01582, allocations: 107.2 kB / 15.06 MB, free: 5.559 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.001874/0.001874, allocations: 182 kB / 15.95 MB, free: 5.523 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 2.066/2.066, allocations: 194.5 MB / 211.3 MB, free: 11.1 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.451/2.451, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007579/0.0007581, allocations: 8 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5714/0.5722, allocations: 98.72 MB / 0.6833 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001372/0.5736, allocations: 1.041 MB / 0.6843 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.5744, allocations: 321.8 kB / 0.6847 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.5744, allocations: 5.438 kB / 0.6847 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 6.635e-05/0.5745, allocations: 4.453 kB / 0.6847 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 2.161e-05/0.5745, allocations: 8.828 kB / 0.6847 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.5749, allocations: 61.36 kB / 0.6847 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.717e-05/0.575, allocations: 19.81 kB / 0.6848 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.575, allocations: 1.844 kB / 0.6848 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.201e-05/0.5751, allocations: 21.08 kB / 0.6848 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.056e-05/0.5751, allocations: 11.94 kB / 0.6848 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.5751, allocations: 2.25 kB / 0.6848 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.5753, allocations: 61.31 kB / 0.6848 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.5754, allocations: 24.97 kB / 0.6849 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.5754, allocations: 38.33 kB / 0.6849 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.5756, allocations: 95.05 kB / 0.685 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.431e-06/0.5756, allocations: 0 / 0.685 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.151e-06/0.5756, allocations: 0 / 0.685 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.318e-06/0.5757, allocations: 0 / 0.685 GB, free: 15.46 MB / 0.5261 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.0004663/0.5761, allocations: 417.3 kB / 0.6854 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5762, allocations: 13.5 kB / 0.6854 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.5763, allocations: 15.02 kB / 0.6854 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.829e-05/0.5764, allocations: 179.2 kB / 0.6856 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.5764, allocations: 3.062 kB / 0.6856 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.5764, allocations: 7.562 kB / 0.6856 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.5767, allocations: 176.9 kB / 0.6858 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.946e-06/0.5767, allocations: 1.938 kB / 0.6858 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.5768, allocations: 0.75 kB / 0.6858 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.5768, allocations: 0 / 0.6858 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.5769, allocations: 79.16 kB / 0.6858 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.5771, allocations: 212 kB / 0.6861 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.5773, allocations: 137.7 kB / 0.6862 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.693e-06/0.5773, allocations: 2.359 kB / 0.6862 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.5776, allocations: 201.9 kB / 0.6864 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 2.585e-06/0.5777, allocations: 0 / 0.6864 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.0009761/0.5786, allocations: 0.6608 MB / 0.687 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.5787, allocations: 94.11 kB / 0.6871 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.5788, allocations: 118.3 kB / 0.6872 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.5789, allocations: 58.55 kB / 0.6873 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.5789, allocations: 82.52 kB / 0.6874 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.641e-05/0.579, allocations: 96.23 kB / 0.6875 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.579, allocations: 5.312 kB / 0.6875 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.5791, allocations: 342 kB / 0.6878 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.5794, allocations: 171.2 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.5798, allocations: 239 kB / 0.6882 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.5801, allocations: 207.8 kB / 0.6884 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.871e-06/0.5802, allocations: 0 / 0.6884 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008227/0.581, allocations: 495 kB / 0.6888 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.581, allocations: 8.656 kB / 0.6889 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.581, allocations: 5.047 kB / 0.6889 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5811, allocations: 2.719 kB / 0.6889 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.5812, allocations: 22.94 kB / 0.6889 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5812, allocations: 3.188 kB / 0.6889 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.5814, allocations: 38.84 kB / 0.6889 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.5814, allocations: 13 kB / 0.6889 GB, free: 12.84 MB / 0.5261 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.0002295/0.5817, allocations: 205.4 kB / 0.6891 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.5817, allocations: 11.16 kB / 0.6891 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.5817, allocations: 6.391 kB / 0.6891 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5817, allocations: 1.125 kB / 0.6891 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.222e-06/0.5818, allocations: 5.219 kB / 0.6892 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.012e-06/0.5818, allocations: 4.828 kB / 0.6892 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.5819, allocations: 196.2 kB / 0.6893 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5819, allocations: 0 / 0.6893 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-06/0.5819, allocations: 0.9688 kB / 0.6893 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.485e-06/0.5819, allocations: 3.938 kB / 0.6893 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.582, allocations: 1.969 kB / 0.6894 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.831e-06/0.582, allocations: 5.672 kB / 0.6894 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.846e-06/0.582, allocations: 0 / 0.6894 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007211/0.5827, allocations: 469.8 kB / 0.6898 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.5828, allocations: 97.62 kB / 0.6899 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.5828, allocations: 31.47 kB / 0.6899 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.5829, allocations: 3.281 kB / 0.6899 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.5829, allocations: 6.953 kB / 0.6899 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.583, allocations: 7.156 kB / 0.6899 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.784e-05/0.583, allocations: 78.84 kB / 0.69 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.96e-07/0.583, allocations: 1.062 kB / 0.69 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003916/0.5834, allocations: 48.77 kB / 0.6901 GB, free: 12.05 MB / 0.5261 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.00045/0.5839, allocations: 229.7 kB / 0.6903 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005707/0.5845, allocations: 356.5 kB / 0.6906 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.84e-06/0.5845, allocations: 0 / 0.6906 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.5847, allocations: 123.4 kB / 0.6907 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.5848, allocations: 8.938 kB / 0.6908 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.5854, allocations: 341.5 kB / 0.6911 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.5856, allocations: 0.7211 MB / 0.6918 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.748e-05/0.5857, allocations: 18.16 kB / 0.6918 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.5858, allocations: 14.03 kB / 0.6918 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of SimCode: time 1.334e-06/0.5858, allocations: 4 kB / 0.6918 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of Templates: time 0.005762/0.5915, allocations: 1.628 MB / 0.6934 GB, free: 10.64 MB / 0.5261 GB