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.451/2.451, 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.001989/0.001989, allocations: 178.3 kB / 325.6 MB, free: 2.832 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.616/2.616, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001136/0.001136, allocations: 98.33 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004679, allocations: 9.75 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2104, allocations: 106.3 MB / 0.8989 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001618/0.2121, allocations: 1.045 MB / 0.8999 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007752/0.2129, allocations: 337.1 kB / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.213, allocations: 4 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.549e-05/0.213, allocations: 0 / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.36e-05/0.2131, allocations: 0 / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.2135, allocations: 63.8 kB / 0.9003 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.638e-05/0.2136, allocations: 27.91 kB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.2136, allocations: 0 / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.2137, allocations: 11.98 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.2137, allocations: 15.92 kB / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.2138, allocations: 0 / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.2139, allocations: 63.88 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.214, allocations: 23.92 kB / 0.9004 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.041e-05/0.2141, allocations: 37.64 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.2142, allocations: 91.83 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2143, allocations: 0 / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2143, allocations: 4 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2143, allocations: 0 / 0.9005 GB, free: 63.79 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.0005558/0.2148, allocations: 420.2 kB / 0.9009 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2149, allocations: 16.03 kB / 0.901 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.215, allocations: 7.906 kB / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.533e-05/0.2151, allocations: 178.8 kB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.2152, allocations: 11.92 kB / 0.9012 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.2152, allocations: 4 kB / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.2155, allocations: 177.6 kB / 0.9013 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2155, allocations: 3.984 kB / 0.9013 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2155, allocations: 0 / 0.9013 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2155, allocations: 0 / 0.9013 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.2156, allocations: 75.97 kB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.2158, allocations: 201.4 kB / 0.9016 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.216, allocations: 146.5 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.2161, allocations: 0 / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/0.2164, allocations: 200.4 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.983e-06/0.2164, allocations: 3.938 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0009211/0.2173, allocations: 0.662 MB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.2174, allocations: 95.36 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.801e-05/0.2175, allocations: 117.7 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.2176, allocations: 53.69 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.2176, allocations: 85.14 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.2178, allocations: 102.8 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.2178, allocations: 12 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.2179, allocations: 338.8 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.2182, allocations: 169 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/0.2186, allocations: 242.6 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.219, allocations: 205.8 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.219, allocations: 0 / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008667/0.2199, allocations: 488.7 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2199, allocations: 8 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2199, allocations: 0 / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.22, allocations: 4 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.2202, allocations: 31.92 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2202, allocations: 4 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.2203, allocations: 35.53 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.2204, allocations: 12 kB / 0.9045 GB, free: 59.5 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.0002471/0.2206, allocations: 211.3 kB / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.2207, allocations: 15.8 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.381e-05/0.2207, allocations: 9.219 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2207, allocations: 0 / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2207, allocations: 0 / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2207, allocations: 0 / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.2209, allocations: 193.4 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2209, allocations: 0 / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-06/0.2209, allocations: 0 / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2209, allocations: 0 / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2209, allocations: 4 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.221, allocations: 4 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.221, allocations: 0 / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/0.2216, allocations: 473.7 kB / 0.9054 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.2217, allocations: 100.8 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.2217, allocations: 35.92 kB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.2218, allocations: 4 kB / 0.9055 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.2219, allocations: 3.984 kB / 0.9055 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.2219, allocations: 4 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.946e-05/0.222, allocations: 79.28 kB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/0.222, allocations: 0 / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000419/0.2224, allocations: 51.98 kB / 0.9056 GB, free: 58.23 MB / 0.6042 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.0004831/0.2229, allocations: 214.3 kB / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005744/0.2235, allocations: 348.8 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2235, allocations: 8.25 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.2237, allocations: 124 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.2239, allocations: 7.984 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005778/0.2245, allocations: 340.5 kB / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.2247, allocations: 0.7246 MB / 0.9073 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.365e-05/0.2247, allocations: 17.42 kB / 0.9073 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.2248, allocations: 15.42 kB / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of SimCode: time 1.163e-06/0.2248, allocations: 0 / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.005858/0.2306, allocations: 1.623 MB / 0.9089 GB, free: 54.78 MB / 0.6042 GB