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.581/1.581, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001091/0.001091, allocations: 183.8 kB / 326.5 MB, free: 2.285 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.731/1.731, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008624/0.0008623, allocations: 92.39 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 8.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2126, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001591/0.2143, allocations: 1.053 MB / 0.9012 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006549/0.2149, allocations: 341.3 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.215, allocations: 0 / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.639e-05/0.2151, allocations: 4 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.64e-05/0.2151, allocations: 7.984 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.2155, allocations: 67.78 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.171e-05/0.2156, allocations: 31.91 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.2156, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.2157, allocations: 15.98 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.2157, allocations: 27.84 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2157, allocations: 0 / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.2159, allocations: 47.95 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.2159, allocations: 31.91 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.216, allocations: 49.64 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.2161, allocations: 111.8 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2161, allocations: 0 / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2162, allocations: 0 / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.2162, allocations: 0 / 0.9019 GB, free: 62.14 MB / 0.6042 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.0003878/0.2166, allocations: 0.4891 MB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2166, allocations: 8.031 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/0.2166, allocations: 54.48 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.091e-05/0.2167, allocations: 19.8 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2168, allocations: 174.9 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.2169, allocations: 4 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.2169, allocations: 4 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.2171, allocations: 245.4 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2171, allocations: 0 / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2172, allocations: 0 / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2172, allocations: 0 / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.2173, allocations: 147.9 kB / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.2174, allocations: 202.2 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.2177, allocations: 0.5415 MB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.2178, allocations: 0 / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/0.2181, allocations: 387.7 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.273e-06/0.2181, allocations: 7.938 kB / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0007663/0.2189, allocations: 0.7848 MB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.219, allocations: 105.1 kB / 0.905 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.899e-05/0.219, allocations: 105.8 kB / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.2191, allocations: 33.67 kB / 0.9051 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.282e-05/0.2191, allocations: 84.8 kB / 0.9052 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.2191, allocations: 67.06 kB / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.2192, allocations: 4 kB / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.2192, allocations: 330.8 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.2193, allocations: 79.97 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/0.2194, allocations: 83.92 kB / 0.9057 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.2195, allocations: 174.9 kB / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2196, allocations: 0 / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002971/0.2199, allocations: 344 kB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/0.2199, allocations: 73.66 kB / 0.9063 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2199, allocations: 0 / 0.9063 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.22, allocations: 4 kB / 0.9063 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.22, allocations: 3.938 kB / 0.9063 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.22, allocations: 3.984 kB / 0.9063 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.2202, allocations: 15.84 kB / 0.9063 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.2202, allocations: 12 kB / 0.9063 GB, free: 57.31 MB / 0.6042 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.0002108/0.2204, allocations: 265.7 kB / 0.9066 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.2205, allocations: 27.81 kB / 0.9066 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.248e-05/0.2205, allocations: 5.219 kB / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2205, allocations: 0 / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2205, allocations: 0 / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2205, allocations: 0 / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.2207, allocations: 253.3 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2207, allocations: 4 kB / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.2207, allocations: 0 / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2207, allocations: 3.984 kB / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.2207, allocations: 12 kB / 0.9069 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2207, allocations: 0 / 0.9069 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2207, allocations: 8 kB / 0.9069 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009946/0.2217, allocations: 1.279 MB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.2218, allocations: 96.81 kB / 0.9082 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.772e-05/0.2219, allocations: 71.95 kB / 0.9083 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.2219, allocations: 11.98 kB / 0.9083 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.222, allocations: 8 kB / 0.9083 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.222, allocations: 15.98 kB / 0.9083 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.331e-05/0.222, allocations: 83.31 kB / 0.9084 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.222, allocations: 0 / 0.9084 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002789/0.2223, allocations: 71.94 kB / 0.9085 GB, free: 55 MB / 0.6042 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.001281/0.2236, allocations: 1.956 MB / 0.9104 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.2247, allocations: 1.971 MB / 0.9123 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2247, allocations: 4 kB / 0.9123 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009792/0.2257, allocations: 2.014 MB / 0.9143 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.2259, allocations: 12 kB / 0.9143 GB, free: 49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.2265, allocations: 408.3 kB / 0.9147 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.2267, allocations: 0.7169 MB / 0.9154 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.2268, allocations: 0 / 0.9154 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.2268, allocations: 35.42 kB / 0.9154 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2268, allocations: 0 / 0.9154 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.2461, allocations: 3.872 MB / 0.9192 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/0.2465, allocations: 242.8 kB / 0.9194 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.97, allocations: 0 / 0.9194 GB, free: 43.79 MB / 0.6042 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)