Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.001213/0.001213, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001218/0.001219, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.236/1.236, allocations: 205.1 MB / 222 MB, free: 4.754 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.6/1.6, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001326/0.001326, allocations: 63.84 kB / 0.6709 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1922, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002585/0.1949, allocations: 1.694 MB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1961, allocations: 0.8306 MB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.1962, allocations: 4 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.1962, allocations: 11.92 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.701e-05/0.1963, allocations: 15.8 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.1968, allocations: 135.7 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.1969, allocations: 143.5 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.197, allocations: 25.39 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.1971, allocations: 63.81 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.883e-05/0.1972, allocations: 71.72 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.1973, allocations: 8 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1974, allocations: 95.84 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.1975, allocations: 31.89 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.1976, allocations: 55.7 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1978, allocations: 195.5 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1978, allocations: 4 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.11e-07/0.1978, allocations: 0 / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.1978, allocations: 0 / 0.7861 GB, free: 10.52 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007437/0.1986, allocations: 0.5369 MB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1986, allocations: 16.02 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.1987, allocations: 34.75 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1987, allocations: 12.75 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1988, allocations: 187.2 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.1989, allocations: 12.38 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1989, allocations: 4.375 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.1993, allocations: 141.6 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1994, allocations: 4 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.1994, allocations: 3.984 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1994, allocations: 3.938 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.1998, allocations: 103.9 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007011/0.2005, allocations: 388.5 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.2008, allocations: 98.48 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.2011, allocations: 92.78 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2012, allocations: 3.984 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003987/0.2016, allocations: 143.2 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.2016, allocations: 0 / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001033/0.2026, allocations: 309.1 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.2027, allocations: 55.41 kB / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.2028, allocations: 146.5 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2028, allocations: 29.7 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.2029, allocations: 96.36 kB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.2029, allocations: 23.66 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.2029, allocations: 33.7 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.203, allocations: 330.8 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2032, allocations: 39.97 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2033, allocations: 77.11 kB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.2036, allocations: 125 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2036, allocations: 0 / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003337/0.2039, allocations: 161.3 kB / 0.7892 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2039, allocations: 8 kB / 0.7892 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.204, allocations: 0 / 0.7892 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.204, allocations: 4 kB / 0.7892 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.2041, allocations: 19.98 kB / 0.7892 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2041, allocations: 4 kB / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.2042, allocations: 16.11 kB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.2043, allocations: 7.938 kB / 0.7892 GB, free: 7.016 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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 9.663e-05/0.2044, allocations: 126.5 kB / 0.7893 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.2044, allocations: 15.94 kB / 0.7894 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.2044, allocations: 12.7 kB / 0.7894 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2044, allocations: 4 kB / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2045, allocations: 0 / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2045, allocations: 0 / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009106/0.2054, allocations: 0.5334 MB / 0.7899 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2054, allocations: 480 / 0.7899 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.287e-05/0.2055, allocations: 15.98 kB / 0.7899 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2055, allocations: 0 / 0.7899 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.2055, allocations: 7.984 kB / 0.7899 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2055, allocations: 7.938 kB / 0.7899 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2055, allocations: 3.938 kB / 0.7899 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/0.2062, allocations: 323.2 kB / 0.7902 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.2063, allocations: 89.02 kB / 0.7903 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.2063, allocations: 0 / 0.7903 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.2065, allocations: 31.91 kB / 0.7904 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.2066, allocations: 7.984 kB / 0.7904 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.2066, allocations: 11.92 kB / 0.7904 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.222e-05/0.2067, allocations: 109.5 kB / 0.7905 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2067, allocations: 0 / 0.7905 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003166/0.207, allocations: 51.89 kB / 0.7905 GB, free: 5.574 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,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): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001158/0.2082, allocations: 0.9141 MB / 0.7914 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004771/0.2087, allocations: 139.8 kB / 0.7916 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2087, allocations: 256 / 0.7916 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.209, allocations: 91.86 kB / 0.7916 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.2093, allocations: 11.94 kB / 0.7916 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.2113, allocations: 1.79 MB / 0.7934 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.2115, allocations: 0.7004 MB / 0.7941 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.868e-05/0.2116, allocations: 11.95 kB / 0.7941 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.2116, allocations: 35.42 kB / 0.7941 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2117, allocations: 4 kB / 0.7941 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.2246, allocations: 3.201 MB / 0.7973 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/0.2249, allocations: 263.8 kB / 0.7975 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/1.824, allocations: 8.062 kB / 0.7975 GB, free: 14.34 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)