Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.989/1.989, allocations: 288.4 MB / 303.4 MB, free: 8.145 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.0012/0.0012, allocations: 183.3 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.000956/0.0009562, allocations: 96.89 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.0004251, allocations: 10.09 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2006, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001349/0.202, allocations: 1.05 MB / 0.9806 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006393/0.2027, allocations: 336.9 kB / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.2027, allocations: 0 / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.002e-05/0.2028, allocations: 0 / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.282e-05/0.2029, allocations: 15.91 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.2033, allocations: 63.86 kB / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.163e-05/0.2034, allocations: 43.86 kB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.2034, allocations: 0 / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.2035, allocations: 19.97 kB / 0.9811 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.2035, allocations: 19.92 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.2035, allocations: 4 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.2037, allocations: 71.91 kB / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.2038, allocations: 23.92 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.2038, allocations: 45.64 kB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.204, allocations: 115.7 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.204, allocations: 4 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.204, allocations: 0 / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.204, allocations: 0 / 0.9813 GB, free: 25.86 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.0004438/0.2045, allocations: 0.5046 MB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2045, allocations: 8.031 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.2046, allocations: 15.81 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2048, allocations: 174.9 kB / 0.982 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.2048, allocations: 7.938 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.2048, allocations: 7.984 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.205, allocations: 245.4 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.2051, allocations: 4 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2051, allocations: 0 / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2051, allocations: 0 / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.2052, allocations: 144 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.2054, allocations: 197.4 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.2057, allocations: 0.5337 MB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.2059, allocations: 0.5242 MB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.206, allocations: 4 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/0.2063, allocations: 395.7 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 1.664e-06/0.2063, allocations: 0 / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0006047/0.2069, allocations: 0.6792 MB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.207, allocations: 109 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.08e-05/0.2071, allocations: 97.84 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.2071, allocations: 33.7 kB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.2071, allocations: 84.83 kB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.2072, allocations: 78.94 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.2072, allocations: 0 / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.558e-05/0.2072, allocations: 322.8 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.2073, allocations: 79.98 kB / 0.9854 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.2074, allocations: 87.91 kB / 0.9855 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.2075, allocations: 177.6 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2075, allocations: 3.953 kB / 0.9857 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002908/0.2078, allocations: 336.3 kB / 0.986 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.933e-05/0.2079, allocations: 81.7 kB / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2079, allocations: 0 / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2079, allocations: 0 / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.221e-05/0.208, allocations: 0 / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.208, allocations: 3.938 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.2081, allocations: 23.75 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2081, allocations: 8 kB / 0.9861 GB, free: 20.67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0001851/0.2083, allocations: 265.7 kB / 0.9864 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.2084, allocations: 27.86 kB / 0.9864 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.013e-05/0.2084, allocations: 5.219 kB / 0.9864 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2084, allocations: 4 kB / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2084, allocations: 0 / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2084, allocations: 0 / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.2085, allocations: 249.3 kB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2085, allocations: 0 / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-06/0.2085, allocations: 3.953 kB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2085, allocations: 4 kB / 0.9867 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.2086, allocations: 15.92 kB / 0.9867 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2086, allocations: 4 kB / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2086, allocations: 0 / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.2094, allocations: 1.279 MB / 0.9879 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.2094, allocations: 92.86 kB / 0.988 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.2095, allocations: 79.84 kB / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.2096, allocations: 8 kB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.2096, allocations: 7.984 kB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.2097, allocations: 15.94 kB / 0.9881 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.397e-05/0.2097, allocations: 87.44 kB / 0.9882 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2097, allocations: 4.031 kB / 0.9882 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002616/0.21, allocations: 64 kB / 0.9883 GB, free: 18.37 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: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0003926/0.2104, allocations: 242.1 kB / 0.9885 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.2114, allocations: 1.96 MB / 0.9904 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2115, allocations: 0 / 0.9904 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009696/0.2124, allocations: 2.018 MB / 0.9924 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.2126, allocations: 24.88 kB / 0.9924 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.2131, allocations: 342.5 kB / 0.9927 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.2133, allocations: 0.7208 MB / 0.9934 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.547e-05/0.2133, allocations: 3.906 kB / 0.9935 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.033e-05/0.2133, allocations: 11.44 kB / 0.9935 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of SimCode: time 3.8e-07/0.2133, allocations: 0 / 0.9935 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.004553/0.2179, allocations: 2.383 MB / 0.9958 GB, free: 10.61 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)