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.001723/0.001723, allocations: 109.4 kB / 15.69 MB, free: 128 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.002398/0.002397, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.49/1.49, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.716/1.716, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001407/0.001407, allocations: 79.44 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1989, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002781/0.2017, allocations: 1.64 MB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2031, allocations: 0.8277 MB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.2032, allocations: 4 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.015e-05/0.2032, allocations: 11.86 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.901e-05/0.2033, allocations: 19.73 kB / 0.7861 GB, free: 10.76 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.000646/0.2039, allocations: 160.5 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.2042, allocations: 155.5 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2043, allocations: 21.33 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2044, allocations: 67.81 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.2045, allocations: 75.78 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.2045, allocations: 19.94 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.2047, allocations: 99.86 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.2048, allocations: 39.88 kB / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.2049, allocations: 51.78 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.2051, allocations: 211.4 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2052, allocations: 3.938 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2052, allocations: 0 / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2052, allocations: 0 / 0.7869 GB, free: 9.875 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.0007877/0.206, allocations: 0.5447 MB / 0.7875 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.206, allocations: 8.031 kB / 0.7875 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.2061, allocations: 38.69 kB / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.2061, allocations: 12.75 kB / 0.7875 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.2062, allocations: 187.2 kB / 0.7877 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.2063, allocations: 8.375 kB / 0.7877 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.2063, allocations: 4.375 kB / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.2067, allocations: 149.6 kB / 0.7878 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2068, allocations: 3.938 kB / 0.7879 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.2068, allocations: 3.984 kB / 0.7879 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2068, allocations: 4 kB / 0.7879 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.2072, allocations: 103.9 kB / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.2079, allocations: 380.5 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.2083, allocations: 106.4 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.2087, allocations: 80.8 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.2087, allocations: 7.984 kB / 0.7885 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/0.2092, allocations: 143.4 kB / 0.7886 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.2092, allocations: 0 / 0.7886 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001122/0.2103, allocations: 309.2 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.2103, allocations: 55.41 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2105, allocations: 142.5 kB / 0.7891 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2105, allocations: 37.7 kB / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.2106, allocations: 100.4 kB / 0.7893 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.2106, allocations: 23.66 kB / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.2107, allocations: 29.7 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.2108, allocations: 326.8 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.2109, allocations: 39.91 kB / 0.7897 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.2111, allocations: 85.11 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.2113, allocations: 117 kB / 0.7899 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2113, allocations: 4 kB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003537/0.2117, allocations: 157.8 kB / 0.79 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2117, allocations: 7.938 kB / 0.79 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2117, allocations: 8.125 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2118, allocations: 4 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.2119, allocations: 31.86 kB / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2119, allocations: 0 / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2121, allocations: 11.98 kB / 0.7901 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.2121, allocations: 11.92 kB / 0.7901 GB, free: 6.352 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 0.0001069/0.2122, allocations: 126.5 kB / 0.7902 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.2122, allocations: 7.906 kB / 0.7902 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.2123, allocations: 16.72 kB / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2123, allocations: 0 / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2123, allocations: 0 / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.2123, allocations: 0 / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2133, allocations: 0.5332 MB / 0.7907 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2133, allocations: 0 / 0.7907 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.2134, allocations: 15.98 kB / 0.7908 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2134, allocations: 0 / 0.7908 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.2135, allocations: 3.984 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2135, allocations: 3.938 kB / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2135, allocations: 0 / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007865/0.2143, allocations: 331.2 kB / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.2143, allocations: 89.02 kB / 0.7912 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.2144, allocations: 0 / 0.7912 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.2146, allocations: 23.91 kB / 0.7912 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.2147, allocations: 12.08 kB / 0.7912 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2147, allocations: 7.984 kB / 0.7912 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.296e-05/0.2148, allocations: 105.5 kB / 0.7913 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2148, allocations: 0 / 0.7913 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004001/0.2152, allocations: 51.89 kB / 0.7914 GB, free: 4.934 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.001292/0.2165, allocations: 0.9307 MB / 0.7923 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005353/0.217, allocations: 143.8 kB / 0.7924 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.217, allocations: 0 / 0.7924 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.2174, allocations: 91.91 kB / 0.7925 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.2177, allocations: 14.84 kB / 0.7925 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.2199, allocations: 1.781 MB / 0.7942 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.2201, allocations: 0.7041 MB / 0.7949 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.31e-05/0.2202, allocations: 4 kB / 0.7949 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.2203, allocations: 35.42 kB / 0.795 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2203, allocations: 0 / 0.795 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.2378, allocations: 3.461 MB / 0.7984 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.099, allocations: 6.688 kB / 0.7984 GB, free: 13.78 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)