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.355/1.355, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009127/0.0009126, allocations: 163.2 kB / 326.5 MB, free: 2.719 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.786/1.786, allocations: 205 MB / 0.5766 GB, free: 21.04 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.0009407/0.0009407, allocations: 94.05 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 9.469 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2408, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.00171/0.2425, allocations: 1.059 MB / 0.8978 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008509/0.2434, allocations: 384.4 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.2435, allocations: 0 / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.2436, allocations: 0 / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.699e-05/0.2436, allocations: 11.91 kB / 0.8982 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.2441, allocations: 79.86 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.815e-05/0.2442, allocations: 31.92 kB / 0.8983 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.539e-05/0.2442, allocations: 7.938 kB / 0.8983 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.027e-05/0.2443, allocations: 23.97 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.2443, allocations: 15.92 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2443, allocations: 4 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.2445, allocations: 83.84 kB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.2446, allocations: 23.92 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.2446, allocations: 47.69 kB / 0.8985 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.2448, allocations: 107.8 kB / 0.8986 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2448, allocations: 4 kB / 0.8986 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.285e-06/0.2448, allocations: 0 / 0.8986 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2448, allocations: 0 / 0.8986 GB, free: 66.33 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.0004325/0.2453, allocations: 0.5006 MB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2453, allocations: 8.031 kB / 0.8991 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.2455, allocations: 16.75 kB / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.2456, allocations: 176.2 kB / 0.8992 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.2456, allocations: 384 / 0.8992 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.2456, allocations: 4.375 kB / 0.8992 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.2459, allocations: 249.6 kB / 0.8995 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2459, allocations: 4.172 kB / 0.8995 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.2459, allocations: 7.938 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2459, allocations: 4 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.246, allocations: 144 kB / 0.8996 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.2462, allocations: 198.2 kB / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.2465, allocations: 0.5298 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.2468, allocations: 0.5204 MB / 0.9009 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.2468, allocations: 3.938 kB / 0.9009 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.2471, allocations: 415.5 kB / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.332e-06/0.2471, allocations: 0 / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0005793/0.2477, allocations: 0.6822 MB / 0.9019 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.2477, allocations: 109.1 kB / 0.902 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.705e-05/0.2478, allocations: 101.8 kB / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.2478, allocations: 29.7 kB / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.759e-05/0.2478, allocations: 80.8 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.2479, allocations: 75 kB / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.2479, allocations: 25.73 kB / 0.9023 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.248, allocations: 330.8 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.248, allocations: 83.91 kB / 0.9027 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.2481, allocations: 87.97 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.2483, allocations: 349.4 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2483, allocations: 0 / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002432/0.2486, allocations: 340.1 kB / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.666e-05/0.2486, allocations: 81.58 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2486, allocations: 0 / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2487, allocations: 64 / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.495e-05/0.2487, allocations: 4.188 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2487, allocations: 0 / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2488, allocations: 19.84 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.2489, allocations: 4 kB / 0.9036 GB, free: 60.92 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 (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,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * 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.0001765/0.249, allocations: 269.6 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.2491, allocations: 31.73 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.264e-05/0.2491, allocations: 9.203 kB / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2491, allocations: 0 / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2491, allocations: 0 / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2491, allocations: 4 kB / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.2493, allocations: 249.4 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2493, allocations: 0 / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.2493, allocations: 0 / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2493, allocations: 3.938 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.2493, allocations: 16 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2493, allocations: 3.984 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2493, allocations: 0 / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.2501, allocations: 1.279 MB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.2502, allocations: 92.86 kB / 0.9055 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.859e-05/0.2503, allocations: 83.88 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.2504, allocations: 8 kB / 0.9055 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.2504, allocations: 8 kB / 0.9056 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.2504, allocations: 19.92 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.107e-05/0.2504, allocations: 79.28 kB / 0.9057 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2505, allocations: 3.938 kB / 0.9057 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002475/0.2507, allocations: 71.98 kB / 0.9057 GB, free: 58.6 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.0003659/0.2511, allocations: 246 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.2521, allocations: 1.964 MB / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2521, allocations: 0 / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009292/0.2531, allocations: 2.018 MB / 0.9098 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.2533, allocations: 18.67 kB / 0.9099 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.2537, allocations: 386.9 kB / 0.9102 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.2539, allocations: 0.7169 MB / 0.9109 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.012e-05/0.2539, allocations: 7.438 kB / 0.9109 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2539, allocations: 3.938 kB / 0.9109 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.003492/0.2574, allocations: 2.423 MB / 0.9133 GB, free: 50.75 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)