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.001037/0.001037, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001096/0.001096, allocations: 193.7 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 222 MB, free: 4.977 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.747/1.747, allocations: 292.3 MB / 0.5484 GB, free: 13.73 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.001398/0.001398, allocations: 70.11 kB / 0.6709 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2179, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002268/0.2202, allocations: 1.401 MB / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007073/0.2209, allocations: 376.9 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.2209, allocations: 0 / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.2e-05/0.221, allocations: 3.938 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.379e-05/0.2211, allocations: 8 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.2214, allocations: 67.86 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.473e-05/0.2215, allocations: 55.77 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.2215, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.2216, allocations: 12 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.2216, allocations: 23.91 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2216, allocations: 3.984 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.2218, allocations: 71.94 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.2218, allocations: 23.92 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.2219, allocations: 55.66 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.2221, allocations: 151.8 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2221, allocations: 4 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2221, allocations: 0 / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2221, allocations: 0 / 0.785 GB, free: 11.69 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.00046/0.2226, allocations: 0.5123 MB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2226, allocations: 12.03 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.2227, allocations: 42.73 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.038e-05/0.2228, allocations: 20.73 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2229, allocations: 176.3 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2229, allocations: 4.375 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.2229, allocations: 384 / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.2232, allocations: 245.9 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2232, allocations: 7.938 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2232, allocations: 4 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2232, allocations: 3.938 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.2234, allocations: 144 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.2235, allocations: 193.4 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.2239, allocations: 0.5376 MB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.2242, allocations: 0.5204 MB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.2243, allocations: 7.984 kB / 0.7873 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000359/0.2246, allocations: 395.6 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.232e-06/0.2246, allocations: 0 / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.000708/0.2253, allocations: 0.6929 MB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.2254, allocations: 105.1 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.341e-05/0.2255, allocations: 101.8 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2255, allocations: 29.7 kB / 0.7886 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.2255, allocations: 80.8 kB / 0.7887 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.2256, allocations: 82.84 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.2257, allocations: 37.69 kB / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2258, allocations: 322.8 kB / 0.7891 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.2259, allocations: 83.98 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-05/0.2259, allocations: 83.97 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.2262, allocations: 357.3 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2262, allocations: 0 / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003082/0.2265, allocations: 336.2 kB / 0.7899 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-05/0.2266, allocations: 85.58 kB / 0.79 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2266, allocations: 0 / 0.79 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2266, allocations: 3.984 kB / 0.79 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.439e-05/0.2267, allocations: 0 / 0.79 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2267, allocations: 4 kB / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.2268, allocations: 15.84 kB / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2268, allocations: 8.062 kB / 0.79 GB, free: 6.203 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 (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.227, allocations: 266.3 kB / 0.7903 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.2271, allocations: 27.75 kB / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.627e-06/0.2271, allocations: 5.219 kB / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2271, allocations: 0 / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2271, allocations: 0 / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.2271, allocations: 0 / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.2273, allocations: 245.4 kB / 0.7906 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2273, allocations: 0 / 0.7906 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2273, allocations: 0 / 0.7906 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2273, allocations: 11.94 kB / 0.7906 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.2273, allocations: 15.98 kB / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2273, allocations: 0 / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2274, allocations: 3.938 kB / 0.7906 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.2285, allocations: 1.287 MB / 0.7919 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.2285, allocations: 96.8 kB / 0.7919 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-05/0.2286, allocations: 75.95 kB / 0.792 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.2287, allocations: 12 kB / 0.792 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.2287, allocations: 12.02 kB / 0.792 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.2288, allocations: 12 kB / 0.7921 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.2288, allocations: 83.27 kB / 0.7921 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2288, allocations: 0 / 0.7921 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002809/0.2291, allocations: 68 kB / 0.7922 GB, free: 3.898 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 (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.001617/0.2307, allocations: 1.961 MB / 0.7941 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.2321, allocations: 1.96 MB / 0.796 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2321, allocations: 0 / 0.796 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.2334, allocations: 2.018 MB / 0.798 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.2336, allocations: 20 kB / 0.798 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.2343, allocations: 410.8 kB / 0.7984 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2345, allocations: 0.7169 MB / 0.7991 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.286e-05/0.2346, allocations: 3.938 kB / 0.7991 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.2346, allocations: 35.42 kB / 0.7991 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2346, allocations: 0 / 0.7991 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.2471, allocations: 3.795 MB / 0.8029 GB, free: 9 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/0.2474, allocations: 257.4 kB / 0.8031 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.83, allocations: 0 / 0.8031 GB, free: 8.746 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/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)