Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.154/2.154, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001352, allocations: 171.5 kB / 326.3 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009261/0.000926, allocations: 91.94 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004655, allocations: 9.781 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1907, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001519/0.1923, allocations: 1.051 MB / 0.9005 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007529/0.1931, allocations: 332 kB / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.1931, allocations: 0 / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.714e-05/0.1932, allocations: 3.984 kB / 0.9008 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.676e-05/0.1932, allocations: 7.922 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1936, allocations: 55.88 kB / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.514e-05/0.1937, allocations: 35.92 kB / 0.9009 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.1938, allocations: 7.984 kB / 0.9009 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.1938, allocations: 11.94 kB / 0.901 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.259e-05/0.1939, allocations: 15.97 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1939, allocations: 0 / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.1941, allocations: 75.86 kB / 0.901 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.1941, allocations: 19.92 kB / 0.9011 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.1942, allocations: 41.64 kB / 0.9011 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.1944, allocations: 99.81 kB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1944, allocations: 0 / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1944, allocations: 0 / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1944, allocations: 4 kB / 0.9012 GB, free: 63.74 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.0005114/0.1949, allocations: 420.3 kB / 0.9016 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.195, allocations: 11.97 kB / 0.9016 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.556e-05/0.1951, allocations: 12.83 kB / 0.9016 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.087e-05/0.1952, allocations: 176.2 kB / 0.9018 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.1952, allocations: 4.375 kB / 0.9018 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.1952, allocations: 4.375 kB / 0.9018 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.1955, allocations: 178.2 kB / 0.902 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1955, allocations: 4.188 kB / 0.902 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1955, allocations: 7.875 kB / 0.902 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1956, allocations: 0 / 0.902 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1957, allocations: 83.97 kB / 0.9021 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.1958, allocations: 189.5 kB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.196, allocations: 134.5 kB / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1962, allocations: 116.9 kB / 0.9025 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.1962, allocations: 4 kB / 0.9025 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.1965, allocations: 204.3 kB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.933e-06/0.1965, allocations: 0 / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0008/0.1973, allocations: 0.5594 MB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.1974, allocations: 95.36 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.171e-05/0.1975, allocations: 113.8 kB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/0.1975, allocations: 57.67 kB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.1976, allocations: 93.08 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.1977, allocations: 98.83 kB / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.1977, allocations: 12 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.1978, allocations: 334.8 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.1981, allocations: 168.9 kB / 0.9042 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.1985, allocations: 238 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.1988, allocations: 209.8 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1988, allocations: 4 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008/0.1996, allocations: 488.6 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1997, allocations: 4 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1997, allocations: 7.938 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1997, allocations: 0 / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1999, allocations: 28.05 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.1999, allocations: 4 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.2, allocations: 35.53 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.2001, allocations: 16 kB / 0.9051 GB, free: 59.46 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.0002231/0.2003, allocations: 207.1 kB / 0.9053 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.2003, allocations: 11.81 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.2004, allocations: 13.16 kB / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2004, allocations: 0 / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2004, allocations: 0 / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.2004, allocations: 92.94 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.2005, allocations: 40.05 kB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.2006, allocations: 4 kB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.2006, allocations: 0 / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006317/0.2013, allocations: 494.8 kB / 0.906 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006472/0.2019, allocations: 0.5989 MB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000139/0.2021, allocations: 120 kB / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.626e-05/0.2021, allocations: 75.28 kB / 0.9067 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of Backend: time 7.41e-07/0.2021, allocations: 0 / 0.9067 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.2032, allocations: 398.8 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005728/0.2038, allocations: 0.717 MB / 0.9078 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.005477/0.2093, allocations: 1.653 MB / 0.9094 GB, free: 54.97 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)