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.623/1.623, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001553/0.001553, allocations: 180.9 kB / 361.4 MB, free: 6.82 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.6/1.6, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008707/0.0008707, allocations: 94.97 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.739e-05/1.743e-05, allocations: 0 / 0.8517 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6948/0.6948, allocations: 115.3 MB / 0.9644 GB, free: 79.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.8873, allocations: 137.9 MB / 1.099 GB, free: 1.953 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.8876, allocations: 79.95 kB / 1.099 GB, free: 1.875 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006697/0.8943, allocations: 2.405 MB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8944, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.8944, allocations: 0 / 1.101 GB, free: 15.52 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.0006505/0.895, allocations: 0.5081 MB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.8951, allocations: 8.625 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.8953, allocations: 13.62 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.8955, allocations: 174.9 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.8955, allocations: 0.5625 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.8955, allocations: 4 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002346/0.8958, allocations: 148.5 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.8962, allocations: 239.2 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.8962, allocations: 4.5 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.8962, allocations: 1.109 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.8962, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.8965, allocations: 182.6 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.8971, allocations: 0.5372 MB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.8975, allocations: 0.5215 MB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.8975, allocations: 3.391 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003996/0.8979, allocations: 380.8 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 1.683e-06/0.8979, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.0005748/0.8985, allocations: 412.9 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.8986, allocations: 105.6 kB / 1.105 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.8987, allocations: 93.62 kB / 1.105 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.8987, allocations: 26.7 kB / 1.105 GB, free: 12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.8988, allocations: 80.92 kB / 1.105 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.503e-05/0.8989, allocations: 79.61 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.8989, allocations: 5.312 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.8991, allocations: 323.5 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/0.8992, allocations: 80.64 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.308e-05/0.8993, allocations: 79.97 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.8995, allocations: 104.7 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.8995, allocations: 5.422 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003648/0.8998, allocations: 270.6 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.9, allocations: 79.2 kB / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.9, allocations: 1.188 kB / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.9, allocations: 3.875 kB / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.9001, allocations: 4 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.9001, allocations: 3.938 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.096e-05/0.9002, allocations: 12.53 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.9002, allocations: 8.594 kB / 1.106 GB, free: 10.87 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.0002251/0.9004, allocations: 248.1 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.9005, allocations: 27.77 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.9005, allocations: 5.969 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9005, allocations: 0 / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.9005, allocations: 7.141 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9005, allocations: 0 / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.9007, allocations: 237.9 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.9008, allocations: 0 / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.9008, allocations: 0 / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.9008, allocations: 0 / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.9008, allocations: 15.98 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.9008, allocations: 3.953 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.9008, allocations: 0 / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/0.9018, allocations: 0.5709 MB / 1.107 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.9019, allocations: 92.86 kB / 1.107 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.902, allocations: 79.92 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.9021, allocations: 8 kB / 1.107 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.9022, allocations: 15.94 kB / 1.107 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.9022, allocations: 25.39 kB / 1.107 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.9023, allocations: 76.88 kB / 1.107 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9023, allocations: 4.031 kB / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003988/0.9027, allocations: 72 kB / 1.107 GB, free: 9.32 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.0005868/0.9033, allocations: 259.5 kB / 1.107 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.905, allocations: 1.94 MB / 1.109 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.905, allocations: 0 / 1.109 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.9065, allocations: 2.011 MB / 1.111 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.9068, allocations: 11.98 kB / 1.111 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.9073, allocations: 248 kB / 1.112 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.9076, allocations: 0.7205 MB / 1.112 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.784e-05/0.9076, allocations: 0 / 1.112 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.9076, allocations: 7.5 kB / 1.112 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.9077, allocations: 4 kB / 1.112 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of Templates: time 0.00587/0.9135, allocations: 2.741 MB / 1.115 GB, free: 1.402 MB / 0.7136 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)