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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.423/2.423, allocations: 251.3 MB / 266.2 MB, free: 11.51 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.00131/0.00131, allocations: 182.7 kB / 325.8 MB, free: 2.773 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.638/2.638, allocations: 205.4 MB / 0.5767 GB, free: 20.71 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.0008758/0.0008755, allocations: 88.38 kB / 0.6812 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004744, allocations: 11.25 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 106.3 MB / 0.899 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002056/0.2247, allocations: 1.051 MB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009799/0.2257, allocations: 328 kB / 0.9004 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.2258, allocations: 0 / 0.9004 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.238e-05/0.2259, allocations: 4 kB / 0.9004 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.226, allocations: 7.922 kB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.2265, allocations: 63.86 kB / 0.9004 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.304e-05/0.2266, allocations: 31.92 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.665e-05/0.2266, allocations: 4 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.2267, allocations: 11.92 kB / 0.9005 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.2268, allocations: 19.97 kB / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2268, allocations: 4 kB / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.227, allocations: 67.88 kB / 0.9006 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.2271, allocations: 27.91 kB / 0.9006 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.2272, allocations: 37.64 kB / 0.9006 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.2274, allocations: 91.83 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2274, allocations: 8 kB / 0.9007 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2274, allocations: 0 / 0.9007 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2274, allocations: 3.938 kB / 0.9007 GB, free: 63.61 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.0008074/0.2283, allocations: 429.7 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.2283, allocations: 11.97 kB / 0.9012 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.2285, allocations: 8.844 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.2286, allocations: 180.2 kB / 0.9013 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.2287, allocations: 384 / 0.9013 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.2287, allocations: 4.375 kB / 0.9013 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.2292, allocations: 178.2 kB / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2292, allocations: 192 / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.2292, allocations: 7.922 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2292, allocations: 3.938 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.2294, allocations: 75.98 kB / 0.9016 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.2297, allocations: 201.5 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.23, allocations: 134.5 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.2303, allocations: 116.9 kB / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.2303, allocations: 0 / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004654/0.2308, allocations: 208.3 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 3.196e-06/0.2308, allocations: 0 / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.001353/0.2322, allocations: 0.5633 MB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.2323, allocations: 95.36 kB / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.2324, allocations: 109.8 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.483e-05/0.2325, allocations: 61.67 kB / 0.903 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.2325, allocations: 85.14 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.2327, allocations: 98.83 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.2327, allocations: 8 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.2329, allocations: 342.8 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.2333, allocations: 165 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.2338, allocations: 241.9 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.2343, allocations: 205.8 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.2343, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001177/0.2355, allocations: 492.7 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.2356, allocations: 7.938 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.2356, allocations: 8.203 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.652e-05/0.2357, allocations: 4 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.2359, allocations: 19.94 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.2359, allocations: 4 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.2361, allocations: 43.64 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.2362, allocations: 19.98 kB / 0.9047 GB, free: 59.32 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.0003112/0.2365, allocations: 202.9 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.2366, allocations: 15.75 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.2366, allocations: 5.219 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2366, allocations: 0 / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2366, allocations: 3.938 kB / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2367, allocations: 0 / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.2368, allocations: 189.5 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2368, allocations: 0 / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-06/0.2369, allocations: 0 / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2369, allocations: 11.94 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.2369, allocations: 0 / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2369, allocations: 3.984 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2369, allocations: 0 / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.2379, allocations: 472.7 kB / 0.9056 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.2379, allocations: 92.89 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.238, allocations: 31.92 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.2381, allocations: 15.98 kB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.2382, allocations: 0 / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2382, allocations: 4 kB / 0.9057 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.2383, allocations: 79.28 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2383, allocations: 0 / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004967/0.2388, allocations: 47.98 kB / 0.9058 GB, free: 58.07 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.0006004/0.2394, allocations: 226.3 kB / 0.906 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008038/0.2402, allocations: 357.8 kB / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2402, allocations: 0 / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.2404, allocations: 124 kB / 0.9065 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.2406, allocations: 11.94 kB / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.2412, allocations: 350.5 kB / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.2414, allocations: 0.7206 MB / 0.9075 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.947e-05/0.2415, allocations: 17.42 kB / 0.9076 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.2415, allocations: 19.44 kB / 0.9076 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/0.2415, allocations: 0 / 0.9076 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.0056/0.2472, allocations: 1.613 MB / 0.9092 GB, free: 54.6 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)