Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.597/1.597, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001827/0.001827, allocations: 178 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 0.5777 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007664/0.0007664, allocations: 97.78 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003294, allocations: 8.281 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1834, allocations: 106.4 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001364/0.1848, allocations: 1.199 MB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.1858, allocations: 0.7256 MB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.1858, allocations: 0 / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.1859, allocations: 3.938 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.1859, allocations: 7.922 kB / 0.9022 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.1864, allocations: 99.7 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.174e-05/0.1865, allocations: 71.72 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.1866, allocations: 15.97 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.1866, allocations: 23.92 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.1867, allocations: 39.83 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1867, allocations: 4 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.1869, allocations: 83.91 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.1869, allocations: 15.92 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.187, allocations: 29.7 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1871, allocations: 99.83 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1871, allocations: 0 / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1871, allocations: 0 / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1872, allocations: 0 / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005427/0.1877, allocations: 413.1 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1878, allocations: 12.03 kB / 0.9031 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.1878, allocations: 34.56 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.1878, allocations: 11.86 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.28e-05/0.1879, allocations: 174.9 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.188, allocations: 4 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.188, allocations: 4 kB / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1882, allocations: 81.59 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1882, allocations: 0 / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1882, allocations: 0 / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1882, allocations: 0 / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.1883, allocations: 43.91 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.1889, allocations: 320.8 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.189, allocations: 50.55 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.672e-05/0.1891, allocations: 36.97 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1891, allocations: 8.062 kB / 0.9038 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.1893, allocations: 83.31 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.1893, allocations: 0 / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003452/0.1896, allocations: 149.5 kB / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.1897, allocations: 59.41 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/0.1897, allocations: 121.8 kB / 0.9042 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.1898, allocations: 25.7 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.1898, allocations: 88.23 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.1898, allocations: 23.81 kB / 0.9043 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.1898, allocations: 4 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.727e-05/0.1899, allocations: 318.8 kB / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.19, allocations: 27.98 kB / 0.9047 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.879e-05/0.19, allocations: 54.48 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.575e-05/0.1901, allocations: 35.98 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1901, allocations: 3.938 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002086/0.1904, allocations: 117.5 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1904, allocations: 8 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1904, allocations: 0 / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1904, allocations: 8.016 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.1905, allocations: 15.94 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.1905, allocations: 3.984 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.1906, allocations: 11.91 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1906, allocations: 4 kB / 0.9049 GB, free: 58.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 7.093e-05/0.1907, allocations: 117.8 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.1907, allocations: 4 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.1908, allocations: 16.36 kB / 0.9051 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1908, allocations: 4 kB / 0.9051 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1908, allocations: 3.953 kB / 0.9051 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1908, allocations: 0 / 0.9051 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.1911, allocations: 382.4 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1911, allocations: 0 / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.1912, allocations: 8 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1912, allocations: 4 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1912, allocations: 7.938 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1912, allocations: 0 / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1912, allocations: 0 / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1915, allocations: 215.4 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.1915, allocations: 81.05 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1916, allocations: 7.984 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.868e-05/0.1917, allocations: 11.94 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.1917, allocations: 7.984 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.1917, allocations: 8 kB / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.1917, allocations: 95.2 kB / 0.9059 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1918, allocations: 0 / 0.9059 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000262/0.192, allocations: 36 kB / 0.9059 GB, free: 57.72 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005795/0.1926, allocations: 0.822 MB / 0.9067 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.1928, allocations: 71.91 kB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1928, allocations: 0 / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/0.1929, allocations: 39.97 kB / 0.9068 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.1932, allocations: 16.08 kB / 0.9068 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000846/0.194, allocations: 0.5938 MB / 0.9074 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.1941, allocations: 0.6926 MB / 0.9081 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.1942, allocations: 8.188 kB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.1942, allocations: 19.42 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/0.1942, allocations: 0 / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.2066, allocations: 2.335 MB / 0.9104 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.2068, allocations: 249.3 kB / 0.9106 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.865, allocations: 3.938 kB / 0.9106 GB, free: 52.89 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)