Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.526/2.526, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001484/0.001484, allocations: 184.9 kB / 360.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001099/0.001098, allocations: 80.14 kB / 0.7321 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.975e-05, allocations: 4 kB / 0.8508 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8451/0.8452, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2718/1.117, allocations: 137.6 MB / 1.098 GB, free: 2.887 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/1.117, allocations: 76.8 kB / 1.098 GB, free: 2.812 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0104/1.128, allocations: 2.367 MB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.943e-06/1.128, allocations: 0 / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.128, allocations: 4 kB / 1.1 GB, free: 500 kB / 0.698 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.0006385/1.129, allocations: 420 kB / 1.101 GB, free: 36 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.129, allocations: 8.906 kB / 1.101 GB, free: 28 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/1.129, allocations: 17.02 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/1.129, allocations: 179.5 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/1.129, allocations: 3.984 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/1.129, allocations: 4.719 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001569/1.129, allocations: 80.52 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/1.13, allocations: 180.9 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.13, allocations: 0.5938 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/1.13, allocations: 0.6875 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.13, allocations: 4 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002533/1.13, allocations: 186.3 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/1.13, allocations: 136 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/1.13, allocations: 116.9 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/1.13, allocations: 0.5 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/1.131, allocations: 193.6 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 3.477e-06/1.131, allocations: 0.5 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.000945/1.132, allocations: 449.4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/1.132, allocations: 91.38 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/1.132, allocations: 109.8 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.059e-05/1.132, allocations: 53.67 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/1.132, allocations: 85.64 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/1.132, allocations: 94.92 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/1.132, allocations: 0.75 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.133, allocations: 338.8 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/1.133, allocations: 161.7 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/1.133, allocations: 225.5 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/1.134, allocations: 194.9 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.134, allocations: 7.312 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001027/1.135, allocations: 456.7 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/1.135, allocations: 8 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.135, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/1.135, allocations: 4 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/1.135, allocations: 19.92 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/1.135, allocations: 6.25 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/1.135, allocations: 35.58 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/1.135, allocations: 16 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * Algorithm blocks: 0 * 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.0002877/1.136, allocations: 170.2 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000854/1.137, allocations: 449.2 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/1.137, allocations: 11.89 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/1.137, allocations: 5.969 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.137, allocations: 0.75 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.137, allocations: 7.938 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.137, allocations: 0 / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/1.137, allocations: 178 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.137, allocations: 3.938 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/1.137, allocations: 3.984 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.137, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/1.137, allocations: 4 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.137, allocations: 5.25 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.137, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/1.138, allocations: 476.5 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/1.138, allocations: 104.9 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/1.138, allocations: 39.97 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/1.138, allocations: 0 / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/1.138, allocations: 7.984 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/1.138, allocations: 8 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.424e-05/1.139, allocations: 79.27 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.139, allocations: 0 / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004948/1.139, allocations: 55.94 kB / 1.105 GB, free: 10.83 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: 35 (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],occ.occ,occ.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001809/1.141, allocations: 1.143 MB / 1.107 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007046/1.142, allocations: 340.6 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/1.142, allocations: 0 / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/1.142, allocations: 124.2 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/1.142, allocations: 9.891 kB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009559/1.143, allocations: 282.9 kB / 1.107 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/1.144, allocations: 0.7209 MB / 1.108 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.64e-05/1.144, allocations: 17.2 kB / 1.108 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/1.144, allocations: 43.42 kB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of SimCode: time 3.697e-06/1.144, allocations: 4 kB / 1.108 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04541/1.189, allocations: 3.163 MB / 1.111 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005965/1.19, allocations: 188.7 kB / 1.111 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/3.795, allocations: 0 / 1.111 GB, free: 4.781 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)