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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 107.4 kB / 15.22 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 193.5 kB / 16.13 MB, free: 6.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 251.7 MB / 0.5088 GB, free: 3.293 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4817/0.483, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002348/0.4854, allocations: 1.405 MB / 0.7252 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.4862, allocations: 371.8 kB / 0.7255 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.4862, allocations: 3.938 kB / 0.7255 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.283e-05/0.4863, allocations: 3.984 kB / 0.7255 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.491e-05/0.4863, allocations: 7.938 kB / 0.7255 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.4867, allocations: 79.84 kB / 0.7256 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.4868, allocations: 35.92 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.4868, allocations: 7.938 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.898e-05/0.4868, allocations: 15.92 kB / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.4869, allocations: 23.91 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.4869, allocations: 0 / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.4871, allocations: 83.84 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.4871, allocations: 27.92 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.4872, allocations: 43.75 kB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.4873, allocations: 155.5 kB / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4874, allocations: 0 / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.81e-07/0.4874, allocations: 0 / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.4874, allocations: 0 / 0.726 GB, free: 10.85 MB / 0.545 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.0004298/0.4878, allocations: 0.5104 MB / 0.7265 GB, free: 10.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.4878, allocations: 8.031 kB / 0.7265 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.464e-05/0.4879, allocations: 20.75 kB / 0.7265 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.4881, allocations: 180.2 kB / 0.7267 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4881, allocations: 8.375 kB / 0.7267 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.4881, allocations: 384 / 0.7267 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.4884, allocations: 245.9 kB / 0.7269 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.4884, allocations: 192 / 0.7269 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4884, allocations: 7.938 kB / 0.7269 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.4884, allocations: 0 / 0.7269 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.4885, allocations: 151.9 kB / 0.7271 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.4887, allocations: 193.4 kB / 0.7273 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.489, allocations: 0.5376 MB / 0.7278 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.4894, allocations: 0.5204 MB / 0.7283 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-06/0.4894, allocations: 0 / 0.7283 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003476/0.4897, allocations: 395.7 kB / 0.7287 GB, free: 7.914 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.132e-06/0.4897, allocations: 3.938 kB / 0.7287 GB, free: 7.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0006976/0.4905, allocations: 0.6889 MB / 0.7294 GB, free: 7.211 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.4905, allocations: 105.1 kB / 0.7295 GB, free: 7.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.144e-05/0.4906, allocations: 101.9 kB / 0.7296 GB, free: 6.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.4906, allocations: 29.7 kB / 0.7296 GB, free: 6.945 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.4906, allocations: 88.73 kB / 0.7297 GB, free: 6.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.4907, allocations: 67.06 kB / 0.7297 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.4907, allocations: 33.7 kB / 0.7298 GB, free: 6.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.4908, allocations: 326.8 kB / 0.7301 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.4909, allocations: 83.97 kB / 0.7302 GB, free: 6.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.503e-05/0.491, allocations: 83.97 kB / 0.7302 GB, free: 6.258 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.4913, allocations: 361.3 kB / 0.7306 GB, free: 5.891 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4913, allocations: 0 / 0.7306 GB, free: 5.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003169/0.4916, allocations: 340.1 kB / 0.7309 GB, free: 5.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/0.4917, allocations: 81.58 kB / 0.731 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4917, allocations: 3.938 kB / 0.731 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.4917, allocations: 0 / 0.731 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.21e-05/0.4918, allocations: 0 / 0.731 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.4918, allocations: 0 / 0.731 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.93e-05/0.4919, allocations: 19.84 kB / 0.731 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.4919, allocations: 4 kB / 0.731 GB, free: 5.434 MB / 0.545 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.000212/0.4921, allocations: 269.7 kB / 0.7313 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.4922, allocations: 27.75 kB / 0.7313 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.035e-05/0.4922, allocations: 9.203 kB / 0.7313 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4922, allocations: 0 / 0.7313 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4922, allocations: 0 / 0.7313 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.4922, allocations: 0 / 0.7313 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.4924, allocations: 249.4 kB / 0.7315 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4924, allocations: 7.938 kB / 0.7316 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.4924, allocations: 0 / 0.7316 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4924, allocations: 3.938 kB / 0.7316 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.4924, allocations: 16 kB / 0.7316 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4924, allocations: 7.984 kB / 0.7316 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4924, allocations: 0 / 0.7316 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.4935, allocations: 1.275 MB / 0.7328 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.4936, allocations: 96.8 kB / 0.7329 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.765e-05/0.4937, allocations: 79.88 kB / 0.733 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.4938, allocations: 8 kB / 0.733 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.4938, allocations: 8 kB / 0.733 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.4939, allocations: 20.02 kB / 0.733 GB, free: 3.266 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.286e-05/0.4939, allocations: 79.28 kB / 0.7331 GB, free: 3.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4939, allocations: 0 / 0.7331 GB, free: 3.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003079/0.4942, allocations: 67.98 kB / 0.7332 GB, free: 3.121 MB / 0.545 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.0003942/0.4946, allocations: 241.7 kB / 0.7334 GB, free: 2.891 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.4961, allocations: 1.967 MB / 0.7353 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4961, allocations: 4.062 kB / 0.7353 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.4974, allocations: 2.015 MB / 0.7373 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.4976, allocations: 16 kB / 0.7373 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.4981, allocations: 353.2 kB / 0.7376 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.4984, allocations: 0.7169 MB / 0.7383 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.347e-05/0.4984, allocations: 0 / 0.7383 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.038e-05/0.4984, allocations: 7.438 kB / 0.7384 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.4984, allocations: 0 / 0.7384 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of Templates: time 0.00477/0.5032, allocations: 2.433 MB / 0.7407 GB, free: 11.32 MB / 0.5606 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)