Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.64/1.64, allocations: 288.4 MB / 303.6 MB, free: 7.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008959/0.0008959, allocations: 180.5 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.4 MB / 0.631 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007389/0.000739, allocations: 86.92 kB / 0.7444 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 14.31 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1782, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001237/0.1795, allocations: 1.058 MB / 0.9812 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005951/0.1801, allocations: 336.9 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.1801, allocations: 0 / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.389e-05/0.1802, allocations: 0 / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.207e-05/0.1803, allocations: 11.92 kB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.1807, allocations: 67.86 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.409e-05/0.1807, allocations: 35.92 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.1808, allocations: 11.97 kB / 0.9817 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.002e-05/0.1808, allocations: 11.94 kB / 0.9817 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.1809, allocations: 19.92 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.1809, allocations: 0 / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.181, allocations: 71.91 kB / 0.9818 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.1811, allocations: 31.8 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.1811, allocations: 77.44 kB / 0.9819 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.1813, allocations: 108 kB / 0.982 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1813, allocations: 0 / 0.982 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1813, allocations: 0 / 0.982 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1813, allocations: 4 kB / 0.982 GB, free: 25.45 MB / 0.6198 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.0003729/0.1817, allocations: 0.4967 MB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1818, allocations: 16.02 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.1818, allocations: 38.75 kB / 0.9825 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.842e-05/0.1819, allocations: 20.73 kB / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.572e-05/0.182, allocations: 180.2 kB / 0.9827 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.182, allocations: 4.375 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.182, allocations: 384 / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.1823, allocations: 253.6 kB / 0.9829 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1823, allocations: 3.938 kB / 0.9829 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1823, allocations: 4 kB / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1823, allocations: 0 / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1824, allocations: 144 kB / 0.9831 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.1826, allocations: 189.5 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.1829, allocations: 0.5376 MB / 0.9838 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.1832, allocations: 0.5243 MB / 0.9843 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.1832, allocations: 3.938 kB / 0.9843 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003483/0.1836, allocations: 395.6 kB / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 1.733e-06/0.1836, allocations: 0 / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0006798/0.1843, allocations: 0.6832 MB / 0.9854 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.1843, allocations: 109.1 kB / 0.9855 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.1844, allocations: 93.86 kB / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1844, allocations: 29.7 kB / 0.9856 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.1845, allocations: 88.72 kB / 0.9857 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.1845, allocations: 82.84 kB / 0.9857 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.1845, allocations: 0 / 0.9857 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.1846, allocations: 326.8 kB / 0.986 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-05/0.1847, allocations: 75.98 kB / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.089e-05/0.1847, allocations: 95.91 kB / 0.9862 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.185, allocations: 344.4 kB / 0.9865 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.185, allocations: 0 / 0.9865 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002765/0.1853, allocations: 332.1 kB / 0.9869 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.61e-05/0.1853, allocations: 81.58 kB / 0.9869 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1853, allocations: 0 / 0.9869 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1854, allocations: 4.188 kB / 0.9869 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.1854, allocations: 3.938 kB / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1855, allocations: 0 / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1856, allocations: 23.69 kB / 0.987 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.1856, allocations: 12.06 kB / 0.987 GB, free: 20.03 MB / 0.6198 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.0001907/0.1858, allocations: 277.6 kB / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.1858, allocations: 31.73 kB / 0.9873 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.012e-05/0.1858, allocations: 5.219 kB / 0.9873 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1859, allocations: 0 / 0.9873 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1859, allocations: 7.938 kB / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1859, allocations: 0 / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.186, allocations: 241.4 kB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.186, allocations: 3.938 kB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.186, allocations: 0 / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.186, allocations: 7.938 kB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.1861, allocations: 15.98 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1861, allocations: 0 / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1861, allocations: 4 kB / 0.9875 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008333/0.1869, allocations: 1.271 MB / 0.9888 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.1869, allocations: 96.83 kB / 0.9889 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.21e-05/0.187, allocations: 71.95 kB / 0.9889 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.1871, allocations: 8 kB / 0.989 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.1872, allocations: 16.02 kB / 0.989 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.1872, allocations: 12 kB / 0.989 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.006e-05/0.1872, allocations: 83.27 kB / 0.9891 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1872, allocations: 0 / 0.9891 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002803/0.1875, allocations: 68 kB / 0.9891 GB, free: 17.72 MB / 0.6198 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.001311/0.1888, allocations: 1.961 MB / 0.991 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.1899, allocations: 1.967 MB / 0.993 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1899, allocations: 0 / 0.993 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008969/0.1908, allocations: 2.015 MB / 0.9949 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.191, allocations: 16 kB / 0.9949 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.1916, allocations: 410.1 kB / 0.9953 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.1917, allocations: 0.7208 MB / 0.996 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.513e-05/0.1918, allocations: 0 / 0.996 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.1918, allocations: 27.44 kB / 0.9961 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.1918, allocations: 0 / 0.9961 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4144/0.6062, allocations: 3.874 MB / 0.9999 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.6064, allocations: 253.3 kB / 1 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/2.767, allocations: 0 / 1 GB, free: 6.457 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)