Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.746/2.746, allocations: 287.5 MB / 302.4 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 182.9 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.4 MB / 0.6297 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008832/0.0008831, allocations: 90.41 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 11.44 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2067, allocations: 115.3 MB / 0.9784 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001509/0.2082, allocations: 1.042 MB / 0.9794 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007585/0.209, allocations: 328.9 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.2091, allocations: 0 / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.253e-05/0.2091, allocations: 4 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.883e-05/0.2092, allocations: 3.938 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.2096, allocations: 63.8 kB / 0.9798 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.2097, allocations: 39.91 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.2097, allocations: 4 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.721e-05/0.2097, allocations: 11.92 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.893e-05/0.2098, allocations: 11.98 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.2098, allocations: 4 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.21, allocations: 71.86 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.2101, allocations: 23.92 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.2101, allocations: 41.64 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.2103, allocations: 91.77 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2103, allocations: 0 / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2103, allocations: 8 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2103, allocations: 0 / 0.9801 GB, free: 26.64 MB / 0.6198 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.000509/0.2108, allocations: 412.3 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2109, allocations: 12.03 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.211, allocations: 15.8 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.935e-05/0.2111, allocations: 178.8 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.2111, allocations: 0 / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.2112, allocations: 4 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.2114, allocations: 185.6 kB / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2114, allocations: 0 / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2115, allocations: 0 / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.2115, allocations: 3.938 kB / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.2116, allocations: 79.97 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.2118, allocations: 201.3 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.212, allocations: 142.5 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.2121, allocations: 120.7 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/0.2121, allocations: 0 / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.2124, allocations: 208.2 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 1.884e-06/0.2124, allocations: 0 / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0008236/0.2133, allocations: 0.5489 MB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.2133, allocations: 91.38 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.636e-05/0.2134, allocations: 117.6 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.2135, allocations: 57.69 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.2135, allocations: 85.14 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.722e-05/0.2136, allocations: 98.92 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.2136, allocations: 12 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.2137, allocations: 342.7 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.214, allocations: 168.9 kB / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.2144, allocations: 238 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.2147, allocations: 209.8 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.2147, allocations: 0 / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007708/0.2155, allocations: 0.4888 MB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2155, allocations: 4 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2156, allocations: 0 / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2156, allocations: 8.359 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2157, allocations: 23.92 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2158, allocations: 4 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.2159, allocations: 31.59 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.2159, allocations: 16 kB / 0.984 GB, free: 22.36 MB / 0.6198 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.0002147/0.2162, allocations: 210.8 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.2162, allocations: 7.906 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.056e-05/0.2162, allocations: 9.219 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.2162, allocations: 3.984 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2162, allocations: 0 / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2163, allocations: 4 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.2164, allocations: 197.3 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2164, allocations: 0 / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-06/0.2164, allocations: 0 / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2164, allocations: 4 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.2165, allocations: 0 / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2165, allocations: 0 / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2165, allocations: 0 / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.2172, allocations: 476.8 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.2172, allocations: 100.8 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.2173, allocations: 31.98 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-05/0.2173, allocations: 4 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.2174, allocations: 0 / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2174, allocations: 7.984 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.459e-05/0.2174, allocations: 79.28 kB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2174, allocations: 0 / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003584/0.2178, allocations: 48 kB / 0.9851 GB, free: 21.11 MB / 0.6198 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.0004672/0.2183, allocations: 246.5 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.2188, allocations: 353 kB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2188, allocations: 0 / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.219, allocations: 124 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.2192, allocations: 7.984 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.2198, allocations: 342.7 kB / 0.9862 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.22, allocations: 0.7284 MB / 0.9869 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.79e-05/0.22, allocations: 17.42 kB / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.2201, allocations: 15.44 kB / 0.9869 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.2201, allocations: 0 / 0.9869 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.005383/0.2255, allocations: 1.603 MB / 0.9885 GB, free: 17.65 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)