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.255/1.255, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009244/0.0009246, allocations: 182.3 kB / 327.6 MB, free: 2.137 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.372/1.372, allocations: 205.4 MB / 0.5785 GB, free: 20.18 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.0007707/0.0007708, allocations: 99.36 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 14.44 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1574, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.294, allocations: 132.4 MB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.2943, allocations: 79.95 kB / 1.031 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00595/0.3002, allocations: 2.443 MB / 1.033 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3003, allocations: 0 / 1.033 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3003, allocations: 0 / 1.033 GB, free: 8.637 MB / 0.6823 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.0004105/0.3007, allocations: 0.5122 MB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.3007, allocations: 12.03 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.3008, allocations: 20.73 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3009, allocations: 172.3 kB / 1.034 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3009, allocations: 384 / 1.034 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.301, allocations: 4.375 kB / 1.034 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.3012, allocations: 241.9 kB / 1.034 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.3013, allocations: 4.125 kB / 1.034 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3013, allocations: 7.938 kB / 1.034 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.3013, allocations: 0 / 1.034 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.3014, allocations: 147.9 kB / 1.034 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.3016, allocations: 225.3 kB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.302, allocations: 0.534 MB / 1.035 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.3024, allocations: 0.5207 MB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.3024, allocations: 3.984 kB / 1.035 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/0.3028, allocations: 383.6 kB / 1.036 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 2.766e-06/0.3028, allocations: 4 kB / 1.036 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.0007359/0.3035, allocations: 0.7055 MB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.3036, allocations: 105.1 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.859e-05/0.3037, allocations: 101.8 kB / 1.037 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3037, allocations: 25.7 kB / 1.037 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.3037, allocations: 80.8 kB / 1.037 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.3038, allocations: 74.97 kB / 1.037 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.3038, allocations: 3.938 kB / 1.037 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3039, allocations: 322.8 kB / 1.037 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.304, allocations: 88 kB / 1.037 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.148e-05/0.3041, allocations: 87.97 kB / 1.037 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.3044, allocations: 345.4 kB / 1.038 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3044, allocations: 3.938 kB / 1.038 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003098/0.3047, allocations: 328.2 kB / 1.038 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-05/0.3048, allocations: 85.58 kB / 1.038 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.3048, allocations: 0 / 1.038 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.3048, allocations: 4 kB / 1.038 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.733e-05/0.3048, allocations: 0 / 1.038 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.3048, allocations: 4.062 kB / 1.038 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.3049, allocations: 23.75 kB / 1.038 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3049, allocations: 4 kB / 1.038 GB, free: 3.234 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002226/0.3052, allocations: 265.7 kB / 1.038 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.3052, allocations: 27.75 kB / 1.038 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.3052, allocations: 9.219 kB / 1.038 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3052, allocations: 0 / 1.038 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3053, allocations: 3.984 kB / 1.038 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.3053, allocations: 0 / 1.038 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.3054, allocations: 261.3 kB / 1.038 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3055, allocations: 4 kB / 1.038 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3055, allocations: 0 / 1.038 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3055, allocations: 3.938 kB / 1.038 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.3055, allocations: 19.98 kB / 1.039 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3055, allocations: 7.938 kB / 1.039 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3055, allocations: 3.938 kB / 1.039 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.3067, allocations: 1.291 MB / 1.04 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.3067, allocations: 92.86 kB / 1.04 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.3069, allocations: 87.89 kB / 1.04 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.3069, allocations: 8 kB / 1.04 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.307, allocations: 11.98 kB / 1.04 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.307, allocations: 19.98 kB / 1.04 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.307, allocations: 79.28 kB / 1.04 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.307, allocations: 0 / 1.04 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002653/0.3073, allocations: 83.88 kB / 1.04 GB, free: 0.8594 MB / 0.6823 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 (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.0003843/0.3077, allocations: 253.8 kB / 1.04 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.3092, allocations: 1.968 MB / 1.042 GB, free: 14.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3092, allocations: 0 / 1.042 GB, free: 14.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.3105, allocations: 2.015 MB / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.3107, allocations: 17.88 kB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.3112, allocations: 350.6 kB / 1.045 GB, free: 12.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.3114, allocations: 0.7169 MB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.648e-06/0.3114, allocations: 4 kB / 1.045 GB, free: 11.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-06/0.3114, allocations: 7.438 kB / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.3115, allocations: 0 / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of Templates: time 0.004621/0.3161, allocations: 2.74 MB / 1.048 GB, free: 8.734 MB / 0.698 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)