Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.621/1.621, allocations: 288.4 MB / 303.6 MB, free: 8.109 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.0009548/0.000955, allocations: 182.7 kB / 372.3 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.359/1.359, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0007555/0.0007555, allocations: 102.3 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003821, allocations: 11.25 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1827, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001413/0.1842, allocations: 1.29 MB / 0.9814 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1853, allocations: 0.7687 MB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.1854, allocations: 3.938 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.1854, allocations: 0 / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.1855, allocations: 19.8 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.1859, allocations: 111.7 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.186, allocations: 119.6 kB / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.1861, allocations: 20.27 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.1862, allocations: 47.89 kB / 0.9825 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.296e-05/0.1863, allocations: 63.73 kB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.1863, allocations: 8 kB / 0.9826 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.1865, allocations: 87.91 kB / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.1866, allocations: 27.89 kB / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.1866, allocations: 81.41 kB / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.1868, allocations: 135.7 kB / 0.9829 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1868, allocations: 0 / 0.9829 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1868, allocations: 0 / 0.9829 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1868, allocations: 0 / 0.9829 GB, free: 24.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000569/0.1874, allocations: 467.5 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1874, allocations: 8.031 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.1875, allocations: 38.69 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.1875, allocations: 20.75 kB / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.03e-05/0.1876, allocations: 180.8 kB / 0.9836 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.1876, allocations: 4.375 kB / 0.9836 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1877, allocations: 11.94 kB / 0.9836 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1879, allocations: 101.6 kB / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1879, allocations: 0 / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1879, allocations: 7.938 kB / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1879, allocations: 0 / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.1881, allocations: 75.89 kB / 0.9838 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007104/0.1888, allocations: 376.6 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.189, allocations: 74.55 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.1891, allocations: 56.83 kB / 0.9843 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1892, allocations: 4 kB / 0.9843 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.1894, allocations: 111.3 kB / 0.9844 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1894, allocations: 0 / 0.9844 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005009/0.1899, allocations: 225.4 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.1899, allocations: 63.55 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.19, allocations: 145 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.19, allocations: 33.69 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.1901, allocations: 100.3 kB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.1901, allocations: 19.73 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.1901, allocations: 4 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.836e-05/0.1902, allocations: 318.8 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.1903, allocations: 51.98 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.1905, allocations: 76.25 kB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.1907, allocations: 128.1 kB / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1907, allocations: 0 / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002888/0.191, allocations: 169.4 kB / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.191, allocations: 8 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.191, allocations: 0 / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.191, allocations: 4 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1912, allocations: 23.86 kB / 0.9857 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1912, allocations: 8.203 kB / 0.9857 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.623e-05/0.1913, allocations: 15.92 kB / 0.9857 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.1913, allocations: 4.375 kB / 0.9857 GB, free: 21.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.198e-05/0.1914, allocations: 125.8 kB / 0.9858 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.1914, allocations: 11.81 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.1915, allocations: 16.64 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.1915, allocations: 15.88 kB / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1915, allocations: 0 / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1915, allocations: 0 / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.192, allocations: 462.4 kB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.192, allocations: 0 / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.1921, allocations: 19.92 kB / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1921, allocations: 48 / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1921, allocations: 3.984 kB / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1921, allocations: 4 kB / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1921, allocations: 3.984 kB / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.1924, allocations: 279.3 kB / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.1925, allocations: 84.95 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1925, allocations: 8 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.1926, allocations: 7.984 kB / 0.9867 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1927, allocations: 7.984 kB / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.1927, allocations: 4 kB / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.1927, allocations: 107.3 kB / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1928, allocations: 0 / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002784/0.193, allocations: 51.89 kB / 0.9869 GB, free: 20.02 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007031/0.1937, allocations: 0.8764 MB / 0.9877 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002763/0.194, allocations: 127.8 kB / 0.9878 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.194, allocations: 0 / 0.9878 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.1942, allocations: 59.97 kB / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.1944, allocations: 12.12 kB / 0.9879 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.1956, allocations: 0.7961 MB / 0.9887 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.1957, allocations: 0.7002 MB / 0.9894 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.994e-05/0.1958, allocations: 7.984 kB / 0.9894 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.1958, allocations: 31.42 kB / 0.9894 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.1959, allocations: 4 kB / 0.9894 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2598/0.4557, allocations: 3.001 MB / 0.9923 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.4559, allocations: 256.7 kB / 0.9926 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.301, allocations: 0 / 0.9926 GB, free: 14.17 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)