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: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.635/1.635, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.00104/0.00104, allocations: 172.9 kB / 361.4 MB, free: 6.805 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.662/1.662, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0007947/0.0007947, allocations: 94.64 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.574e-05/1.577e-05, allocations: 0 / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6354, allocations: 115.3 MB / 0.9645 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.8215, allocations: 137.9 MB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.8218, allocations: 77.41 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006593/0.8284, allocations: 2.404 MB / 1.102 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8284, allocations: 0.875 kB / 1.102 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.8285, allocations: 0 / 1.102 GB, free: 15.39 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.0004848/0.829, allocations: 0.5111 MB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.829, allocations: 8.031 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.8291, allocations: 13.62 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.8293, allocations: 178.9 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.8293, allocations: 4.594 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.8293, allocations: 1 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001888/0.8295, allocations: 140 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.8298, allocations: 251.2 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.8298, allocations: 0 / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.8299, allocations: 8.656 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.8299, allocations: 1.219 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.8301, allocations: 182.6 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.8305, allocations: 0.531 MB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.8309, allocations: 0.5171 MB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.8309, allocations: 4.5 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003641/0.8313, allocations: 384.7 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 1.362e-06/0.8313, allocations: 5.625 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.0005142/0.8318, allocations: 404.2 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.8319, allocations: 109.1 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.832, allocations: 89.66 kB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.832, allocations: 25.7 kB / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.832, allocations: 89.52 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.8321, allocations: 71.8 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.8321, allocations: 6.344 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8323, allocations: 328.6 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.549e-05/0.8324, allocations: 79.97 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.8324, allocations: 79.98 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.8326, allocations: 108.8 kB / 1.106 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8326, allocations: 0 / 1.106 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002935/0.8329, allocations: 263.3 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/0.833, allocations: 86.2 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.833, allocations: 1.219 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.833, allocations: 0 / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.8331, allocations: 7.938 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.8331, allocations: 0.875 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.088e-05/0.8331, allocations: 14.84 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.8332, allocations: 17.8 kB / 1.106 GB, free: 10.73 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.0002109/0.8334, allocations: 237.5 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005845/0.834, allocations: 0.5362 MB / 1.107 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.834, allocations: 23.81 kB / 1.107 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.712e-05/0.8341, allocations: 5.969 kB / 1.107 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.8341, allocations: 5.703 kB / 1.107 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.8341, allocations: 0 / 1.107 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8341, allocations: 0 / 1.107 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.8343, allocations: 229.9 kB / 1.107 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8343, allocations: 0 / 1.107 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-06/0.8343, allocations: 4.078 kB / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8343, allocations: 4 kB / 1.107 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.8343, allocations: 22.42 kB / 1.107 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.8343, allocations: 5.781 kB / 1.107 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8343, allocations: 3.938 kB / 1.107 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000599/0.8349, allocations: 0.5515 MB / 1.107 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.835, allocations: 96.94 kB / 1.108 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.8351, allocations: 79.89 kB / 1.108 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.8352, allocations: 12.03 kB / 1.108 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.8353, allocations: 11.98 kB / 1.108 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.8353, allocations: 19.98 kB / 1.108 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.341e-05/0.8353, allocations: 79.28 kB / 1.108 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8354, allocations: 4 kB / 1.108 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003099/0.8357, allocations: 75.98 kB / 1.108 GB, free: 8.648 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.00122/0.8369, allocations: 1.261 MB / 1.109 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001473/0.8384, allocations: 1.94 MB / 1.111 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8384, allocations: 0 / 1.111 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.8397, allocations: 1.999 MB / 1.113 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.8399, allocations: 19.94 kB / 1.113 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.8405, allocations: 313.8 kB / 1.113 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.8408, allocations: 0.7166 MB / 1.114 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.227e-05/0.8408, allocations: 0 / 1.114 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.8409, allocations: 35.42 kB / 1.114 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.8409, allocations: 3.938 kB / 1.114 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.8638, allocations: 3.941 MB / 1.118 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.8641, allocations: 197 kB / 1.118 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.451, allocations: 0 / 1.118 GB, free: 14.22 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)