Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008595/0.0008595, allocations: 95.38 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005566/0.005566, allocations: 177.8 kB / 16.27 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.472/2.472, allocations: 443.4 MB / 0.7176 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 13.02 kB / 0.8797 GB, free: 41.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2357, allocations: 155.2 MB / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001174/0.2369, allocations: 1.058 MB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006205/0.2376, allocations: 371.5 kB / 1.033 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.031e-05/0.2376, allocations: 0 / 1.033 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.098e-05/0.2377, allocations: 3.984 kB / 1.033 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.185e-05/0.2377, allocations: 3.938 kB / 1.033 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.238, allocations: 83.84 kB / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.2381, allocations: 35.92 kB / 1.033 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.2381, allocations: 8 kB / 1.033 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.2382, allocations: 15.92 kB / 1.033 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.05e-05/0.2382, allocations: 15.97 kB / 1.033 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.2382, allocations: 4 kB / 1.033 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.2384, allocations: 79.86 kB / 1.033 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.2384, allocations: 31.84 kB / 1.033 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.2385, allocations: 73.44 kB / 1.033 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.2387, allocations: 151.8 kB / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2387, allocations: 0 / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2387, allocations: 4 kB / 1.033 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2387, allocations: 0 / 1.033 GB, free: 2.219 MB / 0.7794 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.0003889/0.2391, allocations: 0.4967 MB / 1.034 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2391, allocations: 12.02 kB / 1.034 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.2392, allocations: 46.75 kB / 1.034 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.2393, allocations: 20.73 kB / 1.034 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.2394, allocations: 172.3 kB / 1.034 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2394, allocations: 384 / 1.034 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.2394, allocations: 4.375 kB / 1.034 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.2397, allocations: 246.2 kB / 1.034 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2397, allocations: 7.875 kB / 1.034 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2397, allocations: 4 kB / 1.034 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2397, allocations: 3.984 kB / 1.034 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.2398, allocations: 144 kB / 1.034 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.24, allocations: 193.4 kB / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.2404, allocations: 0.5379 MB / 1.035 GB, free: 184 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.2407, allocations: 0.5207 MB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.2407, allocations: 4 kB / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003549/0.2411, allocations: 407.5 kB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of pre-optimization done (n=39): time 1.112e-06/0.2411, allocations: 0 / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=39): time 0.0006731/0.2418, allocations: 0.6815 MB / 1.037 GB, free: 14.54 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.2418, allocations: 109.1 kB / 1.037 GB, free: 14.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.696e-05/0.2419, allocations: 97.86 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2419, allocations: 29.7 kB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.242, allocations: 88.81 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.242, allocations: 78.94 kB / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.2421, allocations: 25.7 kB / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.2422, allocations: 326.8 kB / 1.037 GB, free: 13.74 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.2423, allocations: 75.98 kB / 1.037 GB, free: 13.67 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.2423, allocations: 92.89 kB / 1.037 GB, free: 13.58 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.2426, allocations: 352.4 kB / 1.038 GB, free: 13.22 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2426, allocations: 0 / 1.038 GB, free: 13.22 MB / 0.795 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003139/0.243, allocations: 340.1 kB / 1.038 GB, free: 12.87 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-05/0.243, allocations: 85.58 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.243, allocations: 0 / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.2431, allocations: 0 / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.017e-05/0.2431, allocations: 0 / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.2431, allocations: 3.938 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.2432, allocations: 15.91 kB / 1.038 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.2432, allocations: 8 kB / 1.038 GB, free: 12.75 MB / 0.795 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 (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,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.2434, allocations: 273.5 kB / 1.038 GB, free: 12.47 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.2435, allocations: 27.75 kB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-06/0.2435, allocations: 9.219 kB / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2435, allocations: 0 / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2435, allocations: 0 / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-06/0.2435, allocations: 0 / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.2437, allocations: 249.4 kB / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2437, allocations: 0 / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.2437, allocations: 0 / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2437, allocations: 7.938 kB / 1.039 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.2437, allocations: 15.98 kB / 1.039 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2437, allocations: 0 / 1.039 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2437, allocations: 0 / 1.039 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2448, allocations: 1.283 MB / 1.04 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.2449, allocations: 96.8 kB / 1.04 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.9e-05/0.245, allocations: 71.95 kB / 1.04 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.245, allocations: 8 kB / 1.04 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.2451, allocations: 15.92 kB / 1.04 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.2451, allocations: 12 kB / 1.04 GB, free: 10.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.2452, allocations: 87.2 kB / 1.04 GB, free: 10.51 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2452, allocations: 4.031 kB / 1.04 GB, free: 10.51 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002586/0.2454, allocations: 64 kB / 1.04 GB, free: 10.45 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001619/0.2471, allocations: 1.955 MB / 1.042 GB, free: 8.465 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.2485, allocations: 1.964 MB / 1.044 GB, free: 6.488 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2485, allocations: 0 / 1.044 GB, free: 6.488 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.2499, allocations: 2.018 MB / 1.046 GB, free: 4.457 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.2501, allocations: 21.12 kB / 1.046 GB, free: 4.438 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.2507, allocations: 408.2 kB / 1.047 GB, free: 3.996 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.2509, allocations: 0.7208 MB / 1.047 GB, free: 3.246 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.056e-05/0.2509, allocations: 0 / 1.047 GB, free: 3.246 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.251, allocations: 27.44 kB / 1.047 GB, free: 3.219 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.251, allocations: 8 kB / 1.047 GB, free: 3.211 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2039/0.4549, allocations: 3.726 MB / 1.051 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/0.4552, allocations: 268.8 kB / 1.051 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.09, allocations: 3.938 kB / 1.051 GB, free: 15.3 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)