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.001099/0.001099, allocations: 108 kB / 15.61 MB, free: 152 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.001253/0.001253, allocations: 194.4 kB / 16.53 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.338/1.338, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.678/1.678, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001356/0.001356, allocations: 73.56 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.206, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002635/0.2087, allocations: 1.629 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.21, allocations: 0.8277 MB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.2101, allocations: 0 / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.2101, allocations: 11.88 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.118e-05/0.2102, allocations: 27.72 kB / 0.7859 GB, free: 10.86 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.0005455/0.2108, allocations: 159.4 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.2109, allocations: 151.5 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.211, allocations: 25.39 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2111, allocations: 67.81 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2113, allocations: 79.72 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.2113, allocations: 12 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.2115, allocations: 103.8 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.2115, allocations: 35.89 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.2116, allocations: 59.72 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.2119, allocations: 203.4 kB / 0.7868 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2119, allocations: 4 kB / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2119, allocations: 0 / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2119, allocations: 0 / 0.7868 GB, free: 9.977 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.0007466/0.2126, allocations: 0.5394 MB / 0.7873 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2127, allocations: 12.03 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.2127, allocations: 38.69 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.2128, allocations: 16.75 kB / 0.7874 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.2129, allocations: 183 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.2129, allocations: 8.375 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.213, allocations: 8.375 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.2134, allocations: 137.7 kB / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2134, allocations: 0 / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.2134, allocations: 3.984 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2134, allocations: 3.938 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.2139, allocations: 107.8 kB / 0.7878 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000719/0.2146, allocations: 384.5 kB / 0.7882 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.2149, allocations: 102.5 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.2153, allocations: 84.78 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.2153, allocations: 12.08 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004519/0.2158, allocations: 143.3 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.2158, allocations: 0 / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001112/0.2169, allocations: 313.1 kB / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.217, allocations: 59.39 kB / 0.7888 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2171, allocations: 138.5 kB / 0.789 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.2171, allocations: 29.7 kB / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.2172, allocations: 100.4 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.2172, allocations: 23.66 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.2173, allocations: 37.7 kB / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2174, allocations: 322.8 kB / 0.7895 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.2175, allocations: 43.97 kB / 0.7895 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.2177, allocations: 88.67 kB / 0.7896 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.218, allocations: 121 kB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.218, allocations: 0 / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003493/0.2184, allocations: 165.3 kB / 0.7899 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2184, allocations: 4 kB / 0.7899 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2184, allocations: 4 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2184, allocations: 0 / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.2186, allocations: 23.92 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2186, allocations: 0 / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2187, allocations: 16.11 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.2187, allocations: 11.94 kB / 0.7899 GB, free: 6.461 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.0001046/0.2188, allocations: 121.9 kB / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.2189, allocations: 11.84 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.2189, allocations: 12.72 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2189, allocations: 0 / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2189, allocations: 0 / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2189, allocations: 0 / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.2201, allocations: 0.5332 MB / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2201, allocations: 480 / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.2202, allocations: 19.92 kB / 0.7906 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2202, allocations: 0 / 0.7906 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.2202, allocations: 7.984 kB / 0.7906 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.2202, allocations: 3.938 kB / 0.7906 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2202, allocations: 3.938 kB / 0.7906 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007823/0.221, allocations: 331.2 kB / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.2211, allocations: 81.02 kB / 0.791 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.2211, allocations: 4 kB / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.2213, allocations: 31.91 kB / 0.791 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.2214, allocations: 7.984 kB / 0.7911 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.2214, allocations: 8.078 kB / 0.7911 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.782e-05/0.2215, allocations: 105.7 kB / 0.7912 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.71e-07/0.2215, allocations: 0 / 0.7912 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003384/0.2218, allocations: 51.89 kB / 0.7912 GB, free: 5.035 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.001338/0.2232, allocations: 0.9259 MB / 0.7921 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005839/0.2238, allocations: 147.8 kB / 0.7923 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2238, allocations: 256 / 0.7923 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.2241, allocations: 99.84 kB / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.2245, allocations: 14.36 kB / 0.7924 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.227, allocations: 1.762 MB / 0.7941 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.2273, allocations: 0.7002 MB / 0.7948 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.811e-05/0.2274, allocations: 7.781 kB / 0.7948 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.2274, allocations: 35.42 kB / 0.7948 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/0.2275, allocations: 4 kB / 0.7948 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.2465, allocations: 3.433 MB / 0.7982 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.126/7.373, allocations: 9.219 kB / 0.7982 GB, free: 13.89 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)