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.001157/0.001157, allocations: 101.4 kB / 15.7 MB, free: 28 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.001401/0.001401, allocations: 197 kB / 16.64 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.451/1.451, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.768/1.768, allocations: 292.3 MB / 0.549 GB, free: 12.7 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.001704/0.001705, allocations: 74.67 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2118, allocations: 114.5 MB / 0.7836 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002965/0.2148, allocations: 1.635 MB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2163, allocations: 0.8394 MB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.2164, allocations: 0 / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.942e-05/0.2165, allocations: 11.86 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.68e-05/0.2166, allocations: 27.73 kB / 0.7861 GB, free: 10.68 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.0007902/0.2174, allocations: 151.5 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.2176, allocations: 155.5 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.2178, allocations: 25.39 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.218, allocations: 63.83 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.2181, allocations: 75.72 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.2181, allocations: 12 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.2184, allocations: 103.8 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.2185, allocations: 43.88 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.798e-05/0.2185, allocations: 55.72 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.219, allocations: 207.4 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.219, allocations: 0 / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.219, allocations: 0 / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.219, allocations: 7.984 kB / 0.787 GB, free: 9.793 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.0008738/0.2199, allocations: 0.5407 MB / 0.7875 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2199, allocations: 8.031 kB / 0.7875 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/0.22, allocations: 38.75 kB / 0.7875 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.2201, allocations: 12.75 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.2202, allocations: 183.3 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.2203, allocations: 4.375 kB / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.2203, allocations: 12.38 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.2207, allocations: 145.5 kB / 0.7879 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2208, allocations: 0 / 0.7879 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.2208, allocations: 8 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2208, allocations: 0 / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003917/0.2212, allocations: 99.91 kB / 0.788 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007612/0.222, allocations: 384.5 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.2223, allocations: 106.4 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.2227, allocations: 84.78 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2227, allocations: 4 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/0.2232, allocations: 135.3 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/0.2232, allocations: 4 kB / 0.7887 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001124/0.2243, allocations: 321.1 kB / 0.789 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2243, allocations: 51.52 kB / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2245, allocations: 146.4 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2245, allocations: 29.7 kB / 0.7892 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.2246, allocations: 100.4 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.2246, allocations: 31.73 kB / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.2247, allocations: 29.7 kB / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2248, allocations: 326.8 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.225, allocations: 39.97 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.2251, allocations: 77.12 kB / 0.7898 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.2255, allocations: 129 kB / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2255, allocations: 4 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004342/0.2259, allocations: 157.4 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.226, allocations: 8 kB / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.226, allocations: 3.984 kB / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.226, allocations: 4 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.2261, allocations: 23.91 kB / 0.7901 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.2262, allocations: 4 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.2263, allocations: 8 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.2263, allocations: 15.92 kB / 0.7901 GB, free: 6.277 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.0001107/0.2264, allocations: 124.8 kB / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.2264, allocations: 7.906 kB / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.2265, allocations: 20.66 kB / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2265, allocations: 0 / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2265, allocations: 0 / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2265, allocations: 7.984 kB / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009907/0.2275, allocations: 0.5215 MB / 0.7908 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2275, allocations: 4 kB / 0.7908 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.901e-05/0.2276, allocations: 11.98 kB / 0.7908 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2276, allocations: 0 / 0.7908 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.2276, allocations: 8.453 kB / 0.7908 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.2277, allocations: 3.938 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2277, allocations: 4 kB / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007932/0.2285, allocations: 331.2 kB / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.2285, allocations: 85.02 kB / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.2286, allocations: 0 / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.2288, allocations: 27.91 kB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.2288, allocations: 7.984 kB / 0.7912 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.2289, allocations: 11.92 kB / 0.7912 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.158e-05/0.2289, allocations: 113.7 kB / 0.7913 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2289, allocations: 0 / 0.7913 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003389/0.2293, allocations: 51.89 kB / 0.7914 GB, free: 4.848 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.001449/0.2307, allocations: 0.9151 MB / 0.7923 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005285/0.2313, allocations: 143.8 kB / 0.7924 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2313, allocations: 0 / 0.7924 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.2316, allocations: 92.17 kB / 0.7925 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.2319, allocations: 23.8 kB / 0.7925 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.2344, allocations: 1.773 MB / 0.7943 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.2348, allocations: 0.6963 MB / 0.7949 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.304e-05/0.2348, allocations: 4 kB / 0.7949 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.2349, allocations: 35.42 kB / 0.795 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.2349, allocations: 4 kB / 0.795 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.2556, allocations: 3.45 MB / 0.7984 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/7.929, allocations: 17.86 kB / 0.7984 GB, free: 13.7 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)