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.001753/0.001753, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.002807/0.002807, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.874/2.874, allocations: 205.4 MB / 222.1 MB, free: 5.512 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 2.751/2.751, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0006413/0.0006417, allocations: 13.03 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4924, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002901/0.4955, allocations: 1.05 MB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.4966, allocations: 337.2 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.4967, allocations: 0 / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.4969, allocations: 0 / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.757e-05/0.4969, allocations: 3.984 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.4975, allocations: 71.78 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.4977, allocations: 35.91 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.531e-05/0.4977, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.4978, allocations: 11.98 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.214e-05/0.4979, allocations: 23.91 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.4979, allocations: 0 / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.4982, allocations: 51.95 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.4982, allocations: 27.91 kB / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.4984, allocations: 49.64 kB / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.4987, allocations: 108 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4987, allocations: 4 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.786e-06/0.4987, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.4987, allocations: 0 / 0.789 GB, free: 10.05 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.0008856/0.4996, allocations: 0.5004 MB / 0.7894 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.738e-05/0.4997, allocations: 11.97 kB / 0.7895 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.241e-05/0.4998, allocations: 50.55 kB / 0.7895 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.5, allocations: 19.8 kB / 0.7895 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.5002, allocations: 174.9 kB / 0.7897 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.5003, allocations: 0 / 0.7897 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.5003, allocations: 7.938 kB / 0.7897 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.5008, allocations: 245.6 kB / 0.7899 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5008, allocations: 0 / 0.7899 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.5008, allocations: 0 / 0.7899 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5009, allocations: 0 / 0.7899 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.5011, allocations: 148 kB / 0.7901 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.5015, allocations: 197.4 kB / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000793/0.5023, allocations: 0.5337 MB / 0.7908 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.5023, allocations: 7.938 kB / 0.7908 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007046/0.503, allocations: 399.7 kB / 0.7912 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.723e-06/0.503, allocations: 0 / 0.7912 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001568/0.5046, allocations: 0.7763 MB / 0.7919 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.5048, allocations: 109.1 kB / 0.792 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.5049, allocations: 97.84 kB / 0.7921 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.505, allocations: 25.7 kB / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/0.505, allocations: 96.77 kB / 0.7922 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.5052, allocations: 74.94 kB / 0.7923 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.5052, allocations: 4 kB / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002398/0.5055, allocations: 322.8 kB / 0.7926 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.5056, allocations: 83.97 kB / 0.7927 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.5058, allocations: 75.98 kB / 0.7928 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.5061, allocations: 178.9 kB / 0.7929 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5061, allocations: 3.953 kB / 0.7929 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006233/0.5067, allocations: 336 kB / 0.7933 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.5069, allocations: 81.72 kB / 0.7933 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5069, allocations: 0 / 0.7933 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.5069, allocations: 4 kB / 0.7933 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.507, allocations: 0 / 0.7933 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.5071, allocations: 3.984 kB / 0.7934 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.5073, allocations: 23.75 kB / 0.7934 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.5073, allocations: 4 kB / 0.7934 GB, free: 5.219 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.0004372/0.5078, allocations: 265.6 kB / 0.7936 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.5079, allocations: 23.86 kB / 0.7937 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.5079, allocations: 5.406 kB / 0.7937 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5079, allocations: 4 kB / 0.7937 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.5079, allocations: 3.984 kB / 0.7937 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5079, allocations: 0 / 0.7937 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.5084, allocations: 253.3 kB / 0.7939 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5084, allocations: 0 / 0.7939 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-06/0.5084, allocations: 3.953 kB / 0.7939 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.5085, allocations: 3.984 kB / 0.7939 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.5085, allocations: 8 kB / 0.7939 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.5085, allocations: 4 kB / 0.7939 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5085, allocations: 0 / 0.7939 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.5109, allocations: 1.279 MB / 0.7952 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.511, allocations: 88.95 kB / 0.7953 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.5112, allocations: 79.91 kB / 0.7953 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.5113, allocations: 15.98 kB / 0.7954 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.5114, allocations: 11.94 kB / 0.7954 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.5115, allocations: 11.98 kB / 0.7954 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.179e-05/0.5116, allocations: 87.22 kB / 0.7955 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.938e-06/0.5116, allocations: 4.031 kB / 0.7955 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005637/0.5122, allocations: 71.94 kB / 0.7955 GB, free: 2.91 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.003563/0.5157, allocations: 1.944 MB / 0.7974 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002898/0.5187, allocations: 1.971 MB / 0.7994 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5187, allocations: 0 / 0.7994 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002694/0.5214, allocations: 2.022 MB / 0.8013 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.5218, allocations: 11.95 kB / 0.8013 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.5231, allocations: 404.3 kB / 0.8017 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.5237, allocations: 0.7208 MB / 0.8024 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.49e-05/0.5238, allocations: 0 / 0.8024 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.5239, allocations: 31.42 kB / 0.8025 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.282e-06/0.5239, allocations: 4 kB / 0.8025 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.5509, allocations: 3.849 MB / 0.8062 GB, free: 8 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003669/0.5513, allocations: 242.4 kB / 0.8065 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.283/3.835, allocations: 0 / 0.8065 GB, free: 7.758 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: