Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 192.1 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 292.3 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.5 kB / 0.6709 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1865, allocations: 114.6 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002408/0.189, allocations: 1.584 MB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1902, allocations: 0.7917 MB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.1902, allocations: 0 / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.1903, allocations: 7.922 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.169e-05/0.1903, allocations: 15.92 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.1908, allocations: 111.8 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.1909, allocations: 95.7 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.885e-05/0.191, allocations: 16.27 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.84e-05/0.1911, allocations: 39.89 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.1912, allocations: 47.81 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1912, allocations: 12 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.1914, allocations: 95.84 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.1914, allocations: 19.84 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.1915, allocations: 43.83 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.1917, allocations: 155.6 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1917, allocations: 3.938 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.52e-07/0.1917, allocations: 0 / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1917, allocations: 0 / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006398/0.1924, allocations: 462.5 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1924, allocations: 12.03 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.1925, allocations: 42.69 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1925, allocations: 8.844 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1926, allocations: 176.3 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.1927, allocations: 4.375 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1927, allocations: 8.375 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.193, allocations: 85.75 kB / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.193, allocations: 0 / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.193, allocations: 12 kB / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.193, allocations: 3.938 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.1932, allocations: 43.95 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007646/0.194, allocations: 348.7 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1942, allocations: 62.58 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.1943, allocations: 40.84 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1943, allocations: 0 / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.1946, allocations: 99.34 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.1946, allocations: 0 / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005564/0.1952, allocations: 189.6 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.1953, allocations: 59.34 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/0.1954, allocations: 125.7 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1954, allocations: 29.7 kB / 0.7875 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.1954, allocations: 96.14 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.1955, allocations: 15.8 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.1955, allocations: 25.72 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1956, allocations: 326.8 kB / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.1957, allocations: 35.91 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.922e-05/0.1958, allocations: 64.28 kB / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.196, allocations: 96.2 kB / 0.7881 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.196, allocations: 0 / 0.7881 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002539/0.1963, allocations: 137.4 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1963, allocations: 7.984 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1963, allocations: 4 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1963, allocations: 0 / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1964, allocations: 16.03 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1964, allocations: 0 / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.545e-05/0.1965, allocations: 15.83 kB / 0.7883 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1966, allocations: 7.938 kB / 0.7883 GB, free: 7.961 MB / 0.6075 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.1966, allocations: 130.5 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.1967, allocations: 7.984 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.1967, allocations: 8.375 kB / 0.7884 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1967, allocations: 4 kB / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1967, allocations: 64 / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1967, allocations: 4 kB / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/0.1973, allocations: 434.2 kB / 0.7889 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1973, allocations: 4 kB / 0.7889 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.1974, allocations: 4 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1974, allocations: 0 / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1974, allocations: 3.984 kB / 0.7889 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1974, allocations: 4 kB / 0.7889 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1974, allocations: 3.938 kB / 0.7889 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.1978, allocations: 243.4 kB / 0.7891 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.1979, allocations: 84.95 kB / 0.7892 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.1979, allocations: 7.938 kB / 0.7892 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.198, allocations: 11.98 kB / 0.7892 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.1981, allocations: 11.92 kB / 0.7892 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1981, allocations: 0 / 0.7892 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.03e-05/0.1982, allocations: 98.89 kB / 0.7893 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1982, allocations: 0 / 0.7893 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000376/0.1986, allocations: 43.98 kB / 0.7894 GB, free: 6.777 MB / 0.6075 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,occ.y,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 (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008384/0.1994, allocations: 0.8384 MB / 0.7902 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.1997, allocations: 91.88 kB / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1997, allocations: 0 / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1999, allocations: 51.91 kB / 0.7903 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.2001, allocations: 18.69 kB / 0.7903 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.2017, allocations: 1.588 MB / 0.7919 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2019, allocations: 0.6926 MB / 0.7926 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.662e-05/0.202, allocations: 19.84 kB / 0.7926 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.202, allocations: 19.44 kB / 0.7926 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.202, allocations: 0 / 0.7926 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.2134, allocations: 2.755 MB / 0.7953 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.2136, allocations: 260.3 kB / 0.7955 GB, free: 444 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/1.792, allocations: 3.688 kB / 0.7955 GB, free: 444 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)