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: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 251.9 MB / 266.9 MB, free: 11.09 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.001373/0.001373, allocations: 182.8 kB / 326.5 MB, free: 2.281 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.922/1.922, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008657/0.0008658, allocations: 85.53 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 12.88 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2803, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/0.4753, allocations: 132.3 MB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/0.4757, allocations: 83.89 kB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007138/0.4829, allocations: 2.436 MB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.387e-06/0.4829, allocations: 3.938 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.483, allocations: 0 / 1.032 GB, free: 8.867 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.0005709/0.4835, allocations: 0.5127 MB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.4836, allocations: 8.031 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.603e-05/0.4837, allocations: 46.55 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.4838, allocations: 19.8 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.4839, allocations: 178.8 kB / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.484, allocations: 4 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.484, allocations: 4 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.4843, allocations: 241.6 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.4843, allocations: 0 / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.4844, allocations: 4 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4844, allocations: 0 / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.4845, allocations: 144 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.4848, allocations: 217.3 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.4852, allocations: 0.5418 MB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.4852, allocations: 0 / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004221/0.4857, allocations: 387.7 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 1.172e-06/0.4857, allocations: 0 / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.0009155/0.4866, allocations: 0.7887 MB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/0.4867, allocations: 109.1 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.843e-05/0.4868, allocations: 96.92 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.4868, allocations: 29.7 kB / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.4869, allocations: 84.83 kB / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.4869, allocations: 74.97 kB / 1.035 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.487, allocations: 0 / 1.035 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4871, allocations: 330.8 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.4872, allocations: 83.92 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.4873, allocations: 79.97 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.4874, allocations: 174.9 kB / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4875, allocations: 0 / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003398/0.4878, allocations: 340 kB / 1.036 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.301e-05/0.4879, allocations: 85.64 kB / 1.036 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4879, allocations: 0 / 1.036 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4879, allocations: 192 / 1.036 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.488, allocations: 4 kB / 1.036 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.488, allocations: 0 / 1.036 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.769e-05/0.4881, allocations: 15.84 kB / 1.036 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.4881, allocations: 8 kB / 1.036 GB, free: 4.023 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.0002659/0.4884, allocations: 271.5 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.4884, allocations: 23.8 kB / 1.037 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.4885, allocations: 21.2 kB / 1.037 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4885, allocations: 3.938 kB / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4885, allocations: 0 / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4885, allocations: 0 / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.4888, allocations: 265.3 kB / 1.037 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4888, allocations: 0 / 1.037 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.07e-06/0.4888, allocations: 7.984 kB / 1.037 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.4888, allocations: 0 / 1.037 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.4888, allocations: 19.98 kB / 1.037 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4888, allocations: 0 / 1.037 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4888, allocations: 0 / 1.037 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.4901, allocations: 1.283 MB / 1.038 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.4902, allocations: 96.81 kB / 1.038 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.4904, allocations: 83.92 kB / 1.038 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.4904, allocations: 8 kB / 1.038 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.4905, allocations: 7.984 kB / 1.038 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.4905, allocations: 23.98 kB / 1.038 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.4906, allocations: 79.28 kB / 1.038 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4906, allocations: 4.031 kB / 1.038 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003423/0.491, allocations: 79.88 kB / 1.038 GB, free: 1.648 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.002148/0.4931, allocations: 1.952 MB / 1.04 GB, free: 15.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.4948, allocations: 1.979 MB / 1.042 GB, free: 13.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4948, allocations: 0 / 1.042 GB, free: 13.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.4963, allocations: 2.018 MB / 1.044 GB, free: 11.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.4965, allocations: 8 kB / 1.044 GB, free: 11.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/0.4973, allocations: 412.3 kB / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.4977, allocations: 0.7208 MB / 1.045 GB, free: 10.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.488e-05/0.4977, allocations: 0 / 1.045 GB, free: 10.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.4977, allocations: 31.42 kB / 1.045 GB, free: 10.42 MB / 0.698 GB Notification: Performance of SimCode: time 8.71e-07/0.4977, allocations: 4 kB / 1.045 GB, free: 10.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.5146, allocations: 4.226 MB / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.5148, allocations: 243.5 kB / 1.05 GB, free: 6.109 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.206, allocations: 0 / 1.05 GB, free: 6.109 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)