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.381/1.381, allocations: 249.5 MB / 257 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009502/0.0009503, allocations: 183.7 kB / 316.3 MB, free: 3.234 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.527/1.527, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0007616/0.0007617, allocations: 89.17 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.916e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2076, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7918/0.9995, allocations: 132.6 MB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.9999, allocations: 75.77 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006651/1.007, allocations: 2.404 MB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.432e-06/1.007, allocations: 0 / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.692e-06/1.007, allocations: 0 / 1.017 GB, free: 2.766 MB / 0.6355 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.0004816/1.007, allocations: 0.5091 MB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.007, allocations: 8.031 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/1.007, allocations: 19.8 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/1.007, allocations: 174.9 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/1.007, allocations: 4 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/1.007, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001642/1.008, allocations: 142.1 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/1.008, allocations: 244.7 kB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/1.008, allocations: 0 / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/1.008, allocations: 0 / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/1.008, allocations: 4 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/1.008, allocations: 186.2 kB / 1.018 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/1.008, allocations: 0.5272 MB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/1.009, allocations: 0.5204 MB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/1.009, allocations: 0 / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/1.009, allocations: 385.4 kB / 1.02 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 1.252e-06/1.009, allocations: 4 kB / 1.02 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0005508/1.01, allocations: 409.4 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/1.01, allocations: 108.2 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.311e-05/1.01, allocations: 92.62 kB / 1.02 GB, free: 344 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/1.01, allocations: 25.7 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/1.01, allocations: 84.92 kB / 1.021 GB, free: 224 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/1.01, allocations: 85.53 kB / 1.021 GB, free: 148 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/1.01, allocations: 4 kB / 1.021 GB, free: 144 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.01, allocations: 334.1 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.87e-05/1.01, allocations: 76.36 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/1.01, allocations: 79.73 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/1.01, allocations: 100.1 kB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.01, allocations: 0 / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002733/1.011, allocations: 265.5 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.018e-05/1.011, allocations: 80.27 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.011, allocations: 4.562 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.011, allocations: 0 / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.003e-05/1.011, allocations: 4 kB / 1.022 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.011, allocations: 64 / 1.022 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/1.011, allocations: 27.73 kB / 1.022 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/1.011, allocations: 8 kB / 1.022 GB, free: 15.34 MB / 0.6511 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.0002056/1.011, allocations: 236.9 kB / 1.022 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005599/1.012, allocations: 0.5304 MB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/1.012, allocations: 19.91 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/1.012, allocations: 9.953 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/1.012, allocations: 0 / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.012, allocations: 0.875 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.012, allocations: 0 / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/1.012, allocations: 245.2 kB / 1.023 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.012, allocations: 0 / 1.023 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-06/1.012, allocations: 3.984 kB / 1.023 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.012, allocations: 0 / 1.023 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/1.012, allocations: 22.92 kB / 1.023 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/1.012, allocations: 0 / 1.023 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.012, allocations: 7.875 kB / 1.023 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/1.013, allocations: 0.5535 MB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/1.013, allocations: 100.9 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/1.013, allocations: 82.75 kB / 1.023 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/1.013, allocations: 11.98 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/1.013, allocations: 11.42 kB / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/1.013, allocations: 23.48 kB / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.625e-05/1.013, allocations: 75.28 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.013, allocations: 0 / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003357/1.014, allocations: 75.98 kB / 1.023 GB, free: 13.62 MB / 0.6511 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.001244/1.015, allocations: 1.249 MB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001267/1.016, allocations: 1.944 MB / 1.027 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.016, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/1.017, allocations: 2.001 MB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/1.018, allocations: 22.2 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/1.018, allocations: 303.5 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/1.018, allocations: 0.7236 MB / 1.03 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.305e-05/1.018, allocations: 3.938 kB / 1.03 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/1.018, allocations: 36.67 kB / 1.03 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/1.018, allocations: 4 kB / 1.03 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/1.041, allocations: 3.942 MB / 1.033 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/1.041, allocations: 193.8 kB / 1.034 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.705, allocations: 1.875 kB / 1.034 GB, free: 5.441 MB / 0.6511 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)