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: translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 105.4 kB / 16.35 MB, free: 5.879 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.001658/0.001659, allocations: 194.3 kB / 17.29 MB, free: 5.516 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.374/1.374, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.774/1.774, allocations: 292.3 MB / 0.5496 GB, free: 17.37 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.001424/0.001424, allocations: 67.89 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2704, allocations: 114.6 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002954/0.2734, allocations: 1.629 MB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.275, allocations: 0.8306 MB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.275, allocations: 3.938 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.202e-05/0.2751, allocations: 11.88 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.2752, allocations: 23.72 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 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.0006734/0.2758, allocations: 155.5 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.2761, allocations: 151.6 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2762, allocations: 29.09 kB / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2763, allocations: 67.77 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.2764, allocations: 75.72 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.2765, allocations: 12 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.2767, allocations: 103.9 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.4255/0.7022, allocations: 34.42 kB / 0.7878 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.7024, allocations: 60.98 kB / 0.7879 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.7028, allocations: 208 kB / 0.7881 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7028, allocations: 0 / 0.7881 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7029, allocations: 0 / 0.7881 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.7029, allocations: 0 / 0.7881 GB, free: 46.77 MB / 0.6544 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.0007281/0.7036, allocations: 0.539 MB / 0.7886 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.7036, allocations: 9.875 kB / 0.7886 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.7037, allocations: 14.16 kB / 0.7886 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.715e-05/0.7038, allocations: 186.2 kB / 0.7888 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.7038, allocations: 11.2 kB / 0.7888 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.7039, allocations: 5.625 kB / 0.7888 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.7043, allocations: 139.7 kB / 0.7889 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7043, allocations: 7.875 kB / 0.789 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.7044, allocations: 0 / 0.789 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.7044, allocations: 5.906 kB / 0.789 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.7047, allocations: 103.2 kB / 0.7891 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006884/0.7054, allocations: 377.5 kB / 0.7894 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.7058, allocations: 107 kB / 0.7895 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.7061, allocations: 81.97 kB / 0.7896 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.7061, allocations: 6.656 kB / 0.7896 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004263/0.7065, allocations: 144.2 kB / 0.7897 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.7066, allocations: 0 / 0.7897 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.001023/0.7076, allocations: 312.8 kB / 0.79 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.7076, allocations: 56 kB / 0.7901 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.7077, allocations: 148.5 kB / 0.7902 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.7077, allocations: 28.33 kB / 0.7903 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.7078, allocations: 96.88 kB / 0.7904 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.7078, allocations: 31.09 kB / 0.7904 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.7079, allocations: 27.66 kB / 0.7904 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.708, allocations: 326.5 kB / 0.7907 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.7081, allocations: 41.39 kB / 0.7908 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.7082, allocations: 79.91 kB / 0.7908 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.7085, allocations: 125.2 kB / 0.791 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.7085, allocations: 0.6875 kB / 0.791 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000327/0.7088, allocations: 159.6 kB / 0.7911 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7088, allocations: 5.578 kB / 0.7911 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7088, allocations: 5.281 kB / 0.7911 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.7089, allocations: 2.344 kB / 0.7911 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.709, allocations: 19.86 kB / 0.7911 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.709, allocations: 6.5 kB / 0.7911 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.7091, allocations: 15.19 kB / 0.7912 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.7092, allocations: 8.453 kB / 0.7912 GB, free: 44.88 MB / 0.6544 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 8.467e-05/0.7093, allocations: 133.8 kB / 0.7913 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.7093, allocations: 9.406 kB / 0.7913 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.7093, allocations: 12.81 kB / 0.7913 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.7093, allocations: 6.5 kB / 0.7913 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7093, allocations: 0 / 0.7913 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.7094, allocations: 0 / 0.7913 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008798/0.7102, allocations: 0.5278 MB / 0.7918 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.7103, allocations: 0 / 0.7918 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-05/0.7103, allocations: 17.12 kB / 0.7919 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7104, allocations: 0 / 0.7919 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.7104, allocations: 5.625 kB / 0.7919 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7104, allocations: 1.594 kB / 0.7919 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7104, allocations: 3.938 kB / 0.7919 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.7111, allocations: 327.6 kB / 0.7922 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.7111, allocations: 87.55 kB / 0.7923 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.7112, allocations: 1.281 kB / 0.7923 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.7114, allocations: 27.14 kB / 0.7923 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.7115, allocations: 14.66 kB / 0.7923 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.7115, allocations: 5.812 kB / 0.7923 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.94e-05/0.7116, allocations: 107.4 kB / 0.7924 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7116, allocations: 0 / 0.7924 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003714/0.712, allocations: 55.58 kB / 0.7925 GB, free: 44.13 MB / 0.6544 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.000412/0.7124, allocations: 167.2 kB / 0.7926 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.7129, allocations: 144.5 kB / 0.7928 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7129, allocations: 0 / 0.7928 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.7132, allocations: 88.3 kB / 0.7928 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.7135, allocations: 13.11 kB / 0.7929 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.7141, allocations: 263.9 kB / 0.7931 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.7143, allocations: 0.7021 MB / 0.7938 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.725e-05/0.7143, allocations: 7.469 kB / 0.7938 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.7144, allocations: 17.22 kB / 0.7938 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.7144, allocations: 0 / 0.7938 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.004492/0.7189, allocations: 2.014 MB / 0.7958 GB, free: 43.09 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (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 & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)