Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.001056/0.001056, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 196.7 kB / 16.53 MB, free: 6.672 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.252/1.252, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.675/1.675, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001372/0.001372, allocations: 64.83 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1897, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002439/0.1921, allocations: 1.508 MB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1933, allocations: 0.8004 MB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.1934, allocations: 0 / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.1934, allocations: 7.875 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.706e-05/0.1935, allocations: 7.875 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.194, allocations: 143.5 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.1941, allocations: 95.77 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.922e-05/0.1942, allocations: 20.2 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.1943, allocations: 47.89 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.583e-05/0.1944, allocations: 51.81 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1944, allocations: 8 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1946, allocations: 103.8 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.1946, allocations: 19.97 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.1947, allocations: 47.77 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.1949, allocations: 163.6 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1949, allocations: 0 / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1949, allocations: 0 / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.1949, allocations: 0 / 0.7864 GB, free: 10.32 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.0006036/0.1955, allocations: 468.9 kB / 0.7869 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.1956, allocations: 12.03 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.1956, allocations: 30.75 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.1957, allocations: 12.84 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.771e-05/0.1958, allocations: 184.2 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.1958, allocations: 4.375 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1958, allocations: 4.375 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.196, allocations: 89.75 kB / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.196, allocations: 0 / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1961, allocations: 0 / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1961, allocations: 4 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.1962, allocations: 47.91 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000692/0.197, allocations: 340.7 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.1971, allocations: 62.53 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.1973, allocations: 48.84 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.1973, allocations: 3.938 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.1975, allocations: 99.38 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.1975, allocations: 0 / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005077/0.198, allocations: 181.7 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1981, allocations: 59.41 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.1982, allocations: 132.5 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1982, allocations: 25.7 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.1983, allocations: 92.14 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.1983, allocations: 19.8 kB / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.1983, allocations: 29.7 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.1984, allocations: 326.7 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.87e-05/0.1985, allocations: 31.97 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.761e-05/0.1986, allocations: 60.28 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1988, allocations: 100.2 kB / 0.7888 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1988, allocations: 0 / 0.7888 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002789/0.1991, allocations: 133.4 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1991, allocations: 4 kB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1992, allocations: 0 / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1992, allocations: 4 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1993, allocations: 15.98 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1993, allocations: 0 / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/0.1994, allocations: 23.88 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1994, allocations: 4 kB / 0.7889 GB, free: 7.453 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.611e-05/0.1995, allocations: 130.4 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.1995, allocations: 4 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.1995, allocations: 8.375 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1996, allocations: 0 / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1996, allocations: 0 / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1996, allocations: 4 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.2001, allocations: 430.3 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2001, allocations: 0 / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.2002, allocations: 7.984 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2002, allocations: 0 / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2002, allocations: 4 kB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2002, allocations: 0 / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2002, allocations: 3.938 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.2006, allocations: 247.8 kB / 0.7897 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.2006, allocations: 84.95 kB / 0.7898 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.2007, allocations: 8 kB / 0.7898 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2008, allocations: 4.062 kB / 0.7898 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.2008, allocations: 11.92 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2008, allocations: 7.984 kB / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.951e-05/0.2009, allocations: 110.5 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2009, allocations: 3.938 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003001/0.2012, allocations: 36 kB / 0.79 GB, free: 6.273 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.0008564/0.2021, allocations: 0.8439 MB / 0.7908 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.2024, allocations: 87.88 kB / 0.7909 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2024, allocations: 0 / 0.7909 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.2025, allocations: 52.09 kB / 0.791 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.2028, allocations: 19.88 kB / 0.791 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.2044, allocations: 1.568 MB / 0.7925 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.2047, allocations: 0.6991 MB / 0.7932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.039e-05/0.2047, allocations: 7.781 kB / 0.7932 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.2048, allocations: 27.42 kB / 0.7932 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2048, allocations: 0 / 0.7932 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.2268, allocations: 2.93 MB / 0.7961 GB, free: 8 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.393, allocations: 12.05 kB / 0.7961 GB, free: 15.99 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)