Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_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.001151/0.001151, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001284/0.001284, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000571/0.0005713, allocations: 20.05 kB / 0.6738 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2515, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001868/0.2534, allocations: 1.05 MB / 0.7884 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000905/0.2543, allocations: 337.1 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.2544, allocations: 0 / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.2545, allocations: 4 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.366e-05/0.2546, allocations: 3.938 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.2552, allocations: 75.8 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.444e-05/0.2553, allocations: 39.84 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.387e-05/0.2553, allocations: 7.984 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.623e-05/0.2554, allocations: 19.92 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.2555, allocations: 19.92 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2555, allocations: 0 / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.2557, allocations: 67.92 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.796e-05/0.2557, allocations: 23.92 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.2558, allocations: 45.64 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.256, allocations: 112 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.256, allocations: 4 kB / 0.7892 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.256, allocations: 0 / 0.7892 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.256, allocations: 4 kB / 0.7892 GB, free: 10.02 MB / 0.6075 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.0005195/0.2565, allocations: 0.5004 MB / 0.7896 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2566, allocations: 8.031 kB / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.2566, allocations: 46.55 kB / 0.7897 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.2568, allocations: 15.81 kB / 0.7897 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.2569, allocations: 178.9 kB / 0.7899 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2569, allocations: 4 kB / 0.7899 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.257, allocations: 7.938 kB / 0.7899 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.2573, allocations: 237.6 kB / 0.7901 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.2573, allocations: 4 kB / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2573, allocations: 0 / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2573, allocations: 0 / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.2575, allocations: 152 kB / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.2577, allocations: 189.4 kB / 0.7905 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.2581, allocations: 0.5376 MB / 0.791 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004205/0.2586, allocations: 0.524 MB / 0.7915 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.2586, allocations: 4 kB / 0.7915 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.2591, allocations: 395.7 kB / 0.7919 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.392e-06/0.2591, allocations: 0 / 0.7919 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.0008132/0.2599, allocations: 0.6893 MB / 0.7925 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.26, allocations: 105.1 kB / 0.7926 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.2601, allocations: 101.8 kB / 0.7927 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.2601, allocations: 25.7 kB / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.2601, allocations: 84.83 kB / 0.7928 GB, free: 6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.2602, allocations: 74.95 kB / 0.7929 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.2602, allocations: 0 / 0.7929 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2603, allocations: 326.8 kB / 0.7932 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.603e-05/0.2605, allocations: 83.97 kB / 0.7933 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.2605, allocations: 83.97 kB / 0.7934 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.2607, allocations: 178.9 kB / 0.7936 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2607, allocations: 0 / 0.7936 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003613/0.2611, allocations: 339.9 kB / 0.7939 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.548e-05/0.2612, allocations: 77.66 kB / 0.794 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2612, allocations: 8 kB / 0.794 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2612, allocations: 0 / 0.794 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.2613, allocations: 7.984 kB / 0.794 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2613, allocations: 0 / 0.794 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2614, allocations: 19.75 kB / 0.794 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.2614, allocations: 11.94 kB / 0.794 GB, free: 4.777 MB / 0.6075 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.000256/0.2617, allocations: 269.6 kB / 0.7943 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.2617, allocations: 15.91 kB / 0.7943 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.281e-05/0.2618, allocations: 9.219 kB / 0.7943 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2618, allocations: 4 kB / 0.7943 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.2618, allocations: 0 / 0.7943 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2618, allocations: 0 / 0.7943 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.262, allocations: 249.3 kB / 0.7945 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.262, allocations: 7.938 kB / 0.7945 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-07/0.262, allocations: 0 / 0.7945 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.262, allocations: 0 / 0.7945 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.262, allocations: 16 kB / 0.7945 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2621, allocations: 0 / 0.7945 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2621, allocations: 0 / 0.7945 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.2633, allocations: 1.283 MB / 0.7958 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.2634, allocations: 92.91 kB / 0.7959 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.2635, allocations: 75.95 kB / 0.796 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-05/0.2636, allocations: 11.98 kB / 0.796 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.2637, allocations: 7.938 kB / 0.796 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.2637, allocations: 15.98 kB / 0.796 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.2637, allocations: 79.28 kB / 0.7961 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2637, allocations: 0 / 0.7961 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003304/0.2641, allocations: 76.03 kB / 0.7961 GB, free: 2.48 MB / 0.6075 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.001872/0.266, allocations: 1.958 MB / 0.7981 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.2675, allocations: 1.968 MB / 0.8 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.2675, allocations: 4.094 kB / 0.8 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.2689, allocations: 2.014 MB / 0.8019 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.2691, allocations: 20 kB / 0.802 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/0.2698, allocations: 408.1 kB / 0.8024 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.2701, allocations: 0.7169 MB / 0.8031 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.579e-05/0.2701, allocations: 0 / 0.8031 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.2702, allocations: 35.42 kB / 0.8031 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.2702, allocations: 0 / 0.8031 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.2851, allocations: 3.866 MB / 0.8069 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.2854, allocations: 245.1 kB / 0.8071 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.182, allocations: 4 kB / 0.8071 GB, free: 7.301 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) Environment - environmentSimulation: