Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.48/1.48, allocations: 252 MB / 267 MB, free: 10.98 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.001141/0.001141, allocations: 185.4 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 0.5777 GB, free: 20.23 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.0007425/0.0007425, allocations: 88.53 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 13.55 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1864, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001731/0.1882, allocations: 1.199 MB / 0.9015 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1894, allocations: 0.7256 MB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.1894, allocations: 4 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.1895, allocations: 3.938 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.1896, allocations: 7.922 kB / 0.9022 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.1901, allocations: 95.77 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.967e-05/0.1902, allocations: 75.7 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.1903, allocations: 11.98 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.539e-05/0.1904, allocations: 23.92 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.1904, allocations: 39.83 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1904, allocations: 4 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.1906, allocations: 83.91 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.1906, allocations: 15.92 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.997e-05/0.1907, allocations: 29.7 kB / 0.9026 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.1908, allocations: 103.8 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1909, allocations: 0 / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1909, allocations: 4 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.1909, allocations: 3.938 kB / 0.9027 GB, free: 61.36 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.000517/0.1914, allocations: 401.2 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1915, allocations: 8.031 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.1915, allocations: 42.55 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.1915, allocations: 11.86 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.774e-05/0.1916, allocations: 170.9 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1916, allocations: 4 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1917, allocations: 4 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1918, allocations: 73.59 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1919, allocations: 0 / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1919, allocations: 7.984 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1919, allocations: 0 / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.192, allocations: 47.91 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.1925, allocations: 320.8 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1927, allocations: 54.55 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.612e-05/0.1928, allocations: 32.97 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1928, allocations: 0 / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.193, allocations: 87.31 kB / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.193, allocations: 0 / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003516/0.1933, allocations: 145.5 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1934, allocations: 59.41 kB / 0.9041 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/0.1934, allocations: 121.8 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.1935, allocations: 29.7 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.1935, allocations: 96.3 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.1935, allocations: 19.83 kB / 0.9043 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.1935, allocations: 0 / 0.9043 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.326e-05/0.1936, allocations: 318.8 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.1937, allocations: 31.92 kB / 0.9047 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.1938, allocations: 50.55 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.413e-05/0.1938, allocations: 35.98 kB / 0.9047 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1939, allocations: 0 / 0.9047 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002072/0.1941, allocations: 117.5 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1941, allocations: 10.09 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1941, allocations: 4 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1941, allocations: 3.953 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.1942, allocations: 15.92 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1942, allocations: 4 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/0.1943, allocations: 7.906 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1943, allocations: 12 kB / 0.9049 GB, free: 58.82 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 6.579e-05/0.1944, allocations: 121.8 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.1944, allocations: 4 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.1945, allocations: 12.36 kB / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1945, allocations: 4 kB / 0.9051 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1945, allocations: 3.953 kB / 0.9051 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1945, allocations: 0 / 0.9051 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.1948, allocations: 386.8 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1949, allocations: 0 / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.1949, allocations: 4 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1949, allocations: 4 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1949, allocations: 7.938 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1949, allocations: 0 / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1949, allocations: 0 / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.1952, allocations: 219.5 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.1952, allocations: 81.05 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1952, allocations: 7.984 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.1953, allocations: 7.953 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1954, allocations: 7.984 kB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1954, allocations: 4 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.287e-05/0.1954, allocations: 99.8 kB / 0.9058 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1954, allocations: 4 kB / 0.9059 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002624/0.1957, 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.000602/0.1963, allocations: 0.8097 MB / 0.9067 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.1965, allocations: 79.89 kB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1965, allocations: 0 / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.1966, allocations: 40.11 kB / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1969, allocations: 11.95 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.0008505/0.1977, allocations: 0.5966 MB / 0.9074 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.1979, allocations: 0.6965 MB / 0.9081 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.688e-05/0.1979, allocations: 192 / 0.9081 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.1979, allocations: 24.3 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.198, allocations: 0 / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.2115, allocations: 2.337 MB / 0.9104 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/0.2117, allocations: 254.7 kB / 0.9106 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/1.847, allocations: 3.938 kB / 0.9106 GB, free: 52.88 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)