Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.222/2.222, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 185.4 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.356/2.356, allocations: 205.4 MB / 0.5766 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 98.39 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006945/0.0006946, allocations: 12.47 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.233, allocations: 106.2 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/0.4671, allocations: 132 MB / 1.028 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/0.4675, allocations: 83.94 kB / 1.028 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01322/0.4807, allocations: 2.382 MB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.825e-06/0.4808, allocations: 3.938 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.4808, allocations: 4 kB / 1.03 GB, free: 11.25 MB / 0.6823 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.0007413/0.4816, allocations: 423.8 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.4817, allocations: 16.03 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.4818, allocations: 11.89 kB / 1.031 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.482, allocations: 174.9 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.4821, allocations: 0 / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.4821, allocations: 11.97 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.4826, allocations: 181.6 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4827, allocations: 0 / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.4827, allocations: 0 / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4827, allocations: 0 / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.4829, allocations: 79.97 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.4833, allocations: 229 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.4837, allocations: 143.5 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-06/0.4837, allocations: 0 / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005426/0.4842, allocations: 200.3 kB / 1.032 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 2.365e-06/0.4843, allocations: 0 / 1.032 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.001647/0.4859, allocations: 0.6737 MB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.4861, allocations: 91.38 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.4862, allocations: 116.9 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.4863, allocations: 61.62 kB / 1.033 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.4864, allocations: 81.14 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.4866, allocations: 98.84 kB / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.4867, allocations: 7.984 kB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.4869, allocations: 342.8 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.4874, allocations: 168.9 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/0.488, allocations: 241.8 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.4887, allocations: 201.8 kB / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4887, allocations: 0 / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001394/0.4901, allocations: 0.4889 MB / 1.034 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4901, allocations: 5.25 kB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4902, allocations: 3.938 kB / 1.034 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.4902, allocations: 4 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.4904, allocations: 23.92 kB / 1.034 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.4904, allocations: 7.938 kB / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.4907, allocations: 27.66 kB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.4907, allocations: 16 kB / 1.034 GB, free: 6.922 MB / 0.6823 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.0004085/0.4912, allocations: 203.3 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.4912, allocations: 11.91 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.4913, allocations: 5.219 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4913, allocations: 3.938 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4913, allocations: 0 / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.4913, allocations: 3.984 kB / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.4916, allocations: 213.3 kB / 1.035 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4917, allocations: 4 kB / 1.035 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-06/0.4917, allocations: 0 / 1.035 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4917, allocations: 0 / 1.035 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.4917, allocations: 7.984 kB / 1.035 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4918, allocations: 7.938 kB / 1.035 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4918, allocations: 0 / 1.035 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.493, allocations: 481.8 kB / 1.035 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.4931, allocations: 92.91 kB / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.4933, allocations: 39.95 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.4934, allocations: 4 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.4934, allocations: 7.984 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.4935, allocations: 12 kB / 1.035 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.4936, allocations: 79.28 kB / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/0.4936, allocations: 0 / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006338/0.4942, allocations: 55.92 kB / 1.035 GB, free: 5.617 MB / 0.6823 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.0007245/0.495, allocations: 236.6 kB / 1.036 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008947/0.4959, allocations: 353 kB / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4959, allocations: 4.25 kB / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.4962, allocations: 127.9 kB / 1.036 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.4965, allocations: 7.984 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.4973, allocations: 347.3 kB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.4978, allocations: 0.7168 MB / 1.037 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.592e-05/0.4979, allocations: 17.42 kB / 1.037 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.498, allocations: 15.44 kB / 1.037 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of SimCode: time 8.01e-07/0.498, allocations: 0 / 1.037 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of Templates: time 0.00907/0.5071, allocations: 1.975 MB / 1.039 GB, free: 1.801 MB / 0.6823 GB