Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.505/1.505, allocations: 288.4 MB / 303.6 MB, free: 8.152 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.0009119/0.0009119, allocations: 172.5 kB / 372.2 MB, free: 10.11 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.236/1.236, allocations: 205.4 MB / 0.631 GB, free: 9.773 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.0007758/0.000776, allocations: 89.22 kB / 0.7444 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 16.41 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1869, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001396/0.1883, allocations: 1.207 MB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.1893, allocations: 0.7227 MB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.1894, allocations: 0 / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.1894, allocations: 3.938 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.1894, allocations: 11.92 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.1899, allocations: 99.77 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.602e-05/0.1899, allocations: 63.77 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.324e-05/0.19, allocations: 8 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.1901, allocations: 27.92 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.1902, allocations: 43.81 kB / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1902, allocations: 0 / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1904, allocations: 87.91 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.1904, allocations: 11.92 kB / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.1904, allocations: 57.55 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.1906, allocations: 96.05 kB / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1906, allocations: 4 kB / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1906, allocations: 0 / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1906, allocations: 0 / 0.9826 GB, free: 24.76 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005146/0.1911, allocations: 413 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1912, allocations: 12.03 kB / 0.983 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.1912, allocations: 30.75 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.1913, allocations: 8.844 kB / 0.983 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.1913, allocations: 176.2 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1914, allocations: 12.34 kB / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1914, allocations: 4.375 kB / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1916, allocations: 81.72 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1916, allocations: 0 / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1916, allocations: 4 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1916, allocations: 0 / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.1917, allocations: 43.97 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.1923, allocations: 316.8 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1924, allocations: 50.5 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.1925, allocations: 32.97 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1925, allocations: 11.92 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.1927, allocations: 83.38 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.1927, allocations: 0 / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003556/0.1931, allocations: 153.6 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1931, allocations: 59.34 kB / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.1932, allocations: 117.8 kB / 0.9841 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1932, allocations: 29.7 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.1932, allocations: 99.97 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.1933, allocations: 11.84 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.1933, allocations: 0 / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.808e-05/0.1933, allocations: 326.8 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/0.1934, allocations: 31.98 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.384e-05/0.1935, allocations: 50.55 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1936, allocations: 78.5 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1937, allocations: 0 / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002057/0.1939, allocations: 117.5 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1939, allocations: 9.719 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1939, allocations: 0 / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1939, allocations: 64 / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.194, allocations: 23.98 kB / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.194, allocations: 0 / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/0.1941, allocations: 7.906 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1941, allocations: 7.984 kB / 0.9849 GB, free: 22.15 MB / 0.6198 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 6.869e-05/0.1942, allocations: 123.1 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.1942, allocations: 4 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.1943, allocations: 16.38 kB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1943, allocations: 0 / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1943, allocations: 0 / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1943, allocations: 0 / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.1946, allocations: 390.3 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1946, allocations: 4 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.1947, allocations: 11.92 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1947, allocations: 4 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1947, allocations: 0 / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1947, allocations: 3.938 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1947, allocations: 0 / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.195, allocations: 211.4 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.195, allocations: 93.05 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.195, allocations: 0 / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.1951, allocations: 11.92 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.1952, allocations: 4 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.1952, allocations: 0 / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.1952, allocations: 95.2 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1952, allocations: 0 / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002633/0.1955, allocations: 39.98 kB / 0.9858 GB, free: 21.07 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: 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.0005972/0.1961, allocations: 0.8217 MB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1963, allocations: 75.88 kB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.1963, allocations: 0 / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/0.1964, allocations: 35.98 kB / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.1967, allocations: 20.05 kB / 0.9868 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008301/0.1975, allocations: 0.6013 MB / 0.9873 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.1976, allocations: 0.6888 MB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.1977, allocations: 7.984 kB / 0.988 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.1977, allocations: 19.44 kB / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.1977, allocations: 0 / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.2096, allocations: 2.334 MB / 0.9903 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.2098, allocations: 247.6 kB / 0.9906 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/1.907, allocations: 4 kB / 0.9906 GB, free: 16.21 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)