Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 252 MB / 268 MB, free: 10.86 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.001064/0.001064, allocations: 184.2 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0007851/0.0007851, allocations: 97.28 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003885, allocations: 10.31 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001425/0.2289, allocations: 1.062 MB / 0.9025 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006912/0.2296, allocations: 371.9 kB / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.2297, allocations: 0 / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.785e-05/0.2298, allocations: 3.938 kB / 0.9028 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.401e-05/0.2298, allocations: 0 / 0.9028 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.2301, allocations: 79.8 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.881e-05/0.2302, allocations: 43.84 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.2303, allocations: 7.984 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.157e-05/0.2303, allocations: 15.94 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.2304, allocations: 19.91 kB / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.2304, allocations: 4 kB / 0.903 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.2306, allocations: 71.92 kB / 0.9031 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.2306, allocations: 31.91 kB / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.2307, allocations: 73.44 kB / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.2308, allocations: 107.8 kB / 0.9033 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2308, allocations: 7.938 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2308, allocations: 4 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2309, allocations: 3.938 kB / 0.9033 GB, free: 61.56 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.0003609/0.2312, allocations: 0.5009 MB / 0.9038 GB, free: 61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2313, allocations: 8.031 kB / 0.9038 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.811e-05/0.2314, allocations: 16.75 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.339e-05/0.2315, allocations: 176.2 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.2315, allocations: 384 / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.2315, allocations: 4.375 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.2317, allocations: 253.7 kB / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.2318, allocations: 192 / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.2318, allocations: 7.938 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2318, allocations: 0 / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.2319, allocations: 144 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.232, allocations: 197.4 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.2323, allocations: 0.5337 MB / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.2326, allocations: 0.5243 MB / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.2326, allocations: 0 / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.2329, allocations: 399.7 kB / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.253e-06/0.2329, allocations: 0 / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0005799/0.2335, allocations: 0.686 MB / 0.9066 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.2336, allocations: 105.1 kB / 0.9067 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.209e-05/0.2336, allocations: 105.8 kB / 0.9068 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.2336, allocations: 25.7 kB / 0.9069 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.753e-05/0.2337, allocations: 88.83 kB / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.2337, allocations: 71 kB / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.2337, allocations: 4 kB / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.2338, allocations: 322.8 kB / 0.9073 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.2339, allocations: 79.98 kB / 0.9074 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.708e-05/0.2339, allocations: 83.97 kB / 0.9075 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.2342, allocations: 353.3 kB / 0.9078 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2342, allocations: 0 / 0.9078 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002721/0.2344, allocations: 344 kB / 0.9082 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.93e-05/0.2345, allocations: 85.58 kB / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2345, allocations: 0 / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2345, allocations: 192 / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.417e-05/0.2346, allocations: 4 kB / 0.9082 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2346, allocations: 0 / 0.9082 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.2347, allocations: 15.84 kB / 0.9083 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2347, allocations: 11.98 kB / 0.9083 GB, free: 56.2 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.2349, allocations: 265.7 kB / 0.9085 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.235, allocations: 27.73 kB / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.207e-06/0.235, allocations: 13.22 kB / 0.9086 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.235, allocations: 0 / 0.9086 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.235, allocations: 0 / 0.9086 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.235, allocations: 4 kB / 0.9086 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.2351, allocations: 249.4 kB / 0.9088 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2351, allocations: 0 / 0.9088 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.2351, allocations: 0 / 0.9088 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2352, allocations: 3.938 kB / 0.9088 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.2352, allocations: 11.98 kB / 0.9088 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.2352, allocations: 0 / 0.9088 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2352, allocations: 3.984 kB / 0.9088 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.2361, allocations: 1.291 MB / 0.9101 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.2361, allocations: 96.8 kB / 0.9102 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/0.2362, allocations: 79.89 kB / 0.9102 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.2363, allocations: 8 kB / 0.9103 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.2363, allocations: 11.98 kB / 0.9103 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2363, allocations: 11.98 kB / 0.9103 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.123e-05/0.2364, allocations: 83.25 kB / 0.9104 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2364, allocations: 4 kB / 0.9104 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002489/0.2366, allocations: 64 kB / 0.9104 GB, free: 53.88 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003729/0.237, allocations: 245.9 kB / 0.9107 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.2381, allocations: 1.964 MB / 0.9126 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2381, allocations: 0 / 0.9126 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009968/0.2391, allocations: 2.014 MB / 0.9145 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.2393, allocations: 28.67 kB / 0.9146 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.2399, allocations: 388.3 kB / 0.9149 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.24, allocations: 0.7169 MB / 0.9156 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.2401, allocations: 7.438 kB / 0.9156 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.2401, allocations: 0 / 0.9156 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.004093/0.2442, allocations: 2.418 MB / 0.918 GB, free: 46.04 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)