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.782/1.782, allocations: 285.4 MB / 298 MB, free: 5.965 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.001231/0.001232, allocations: 176.9 kB / 366.4 MB, free: 2.09 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.799/1.799, allocations: 205.1 MB / 0.6248 GB, free: 7.727 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 97.17 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.269e-05, allocations: 0 / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.6927, allocations: 115.3 MB / 0.9709 GB, free: 77.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.892, allocations: 138.6 MB / 1.106 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.8923, allocations: 79.94 kB / 1.106 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006224/0.8985, allocations: 2.405 MB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8985, allocations: 4 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8985, allocations: 2.156 kB / 1.109 GB, free: 10.8 MB / 0.7136 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.0004495/0.899, allocations: 0.5059 MB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.8991, allocations: 12.03 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.8992, allocations: 11.91 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.8993, allocations: 179.5 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.8994, allocations: 0 / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.8994, allocations: 4.5 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.8997, allocations: 239.7 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.8997, allocations: 3.984 kB / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.8997, allocations: 1.156 kB / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.8998, allocations: 0 / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.8999, allocations: 144 kB / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.9001, allocations: 226.2 kB / 1.11 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.9006, allocations: 0.5401 MB / 1.11 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.901, allocations: 0.5246 MB / 1.111 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.901, allocations: 0 / 1.111 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003858/0.9014, allocations: 387.6 kB / 1.111 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 1.213e-06/0.9014, allocations: 0.75 kB / 1.111 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.0005845/0.902, allocations: 0.4896 MB / 1.112 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.9021, allocations: 113 kB / 1.112 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.9021, allocations: 89 kB / 1.112 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.9022, allocations: 25.7 kB / 1.112 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.9022, allocations: 80.92 kB / 1.112 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.9023, allocations: 78.94 kB / 1.112 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.9023, allocations: 0.625 kB / 1.112 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.9024, allocations: 329.4 kB / 1.112 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.9025, allocations: 79.98 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/0.9026, allocations: 87.91 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.9027, allocations: 169.6 kB / 1.113 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9027, allocations: 3.953 kB / 1.113 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003093/0.903, allocations: 334.6 kB / 1.113 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.266e-05/0.9031, allocations: 82.23 kB / 1.113 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.9031, allocations: 4 kB / 1.113 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.9032, allocations: 0.8125 kB / 1.113 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.043e-05/0.9032, allocations: 0 / 1.113 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.9032, allocations: 8.406 kB / 1.113 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.9033, allocations: 16.5 kB / 1.113 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.9033, allocations: 4.844 kB / 1.113 GB, free: 5.836 MB / 0.7136 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 () * 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.0001978/0.9035, allocations: 245.3 kB / 1.113 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.9036, allocations: 23.77 kB / 1.113 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.9036, allocations: 8.469 kB / 1.113 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9036, allocations: 4 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.9036, allocations: 3.984 kB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.9036, allocations: 0 / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.9038, allocations: 273.3 kB / 1.114 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9039, allocations: 0 / 1.114 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-06/0.9039, allocations: 3.953 kB / 1.114 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9039, allocations: 0 / 1.114 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.9039, allocations: 21.8 kB / 1.114 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9039, allocations: 4.094 kB / 1.114 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.9039, allocations: 0 / 1.114 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.905, allocations: 1.271 MB / 1.115 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.9051, allocations: 92.86 kB / 1.115 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.9052, allocations: 91.81 kB / 1.115 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.9053, allocations: 9.594 kB / 1.115 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.9053, allocations: 8 kB / 1.115 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.9054, allocations: 20.02 kB / 1.115 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.9054, allocations: 87.45 kB / 1.115 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9054, allocations: 0 / 1.115 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002923/0.9057, allocations: 72 kB / 1.115 GB, free: 3.52 MB / 0.7136 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) * 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.000424/0.9062, allocations: 254.5 kB / 1.116 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.9077, allocations: 1.956 MB / 1.118 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9077, allocations: 0 / 1.118 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.9092, allocations: 2.022 MB / 1.12 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.9094, allocations: 12 kB / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.9098, allocations: 261 kB / 1.12 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.9101, allocations: 0.7208 MB / 1.12 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.9102, allocations: 6.781 kB / 1.12 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.9102, allocations: 11.44 kB / 1.121 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.9102, allocations: 0 / 1.121 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.004936/0.9151, allocations: 2.754 MB / 1.123 GB, free: 11.55 MB / 0.7292 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)