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.001101/0.001101, allocations: 108.4 kB / 16.38 MB, free: 6.484 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.001104/0.001104, allocations: 194 kB / 17.32 MB, free: 5.816 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.269/1.269, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.753/1.753, allocations: 292.3 MB / 0.5496 GB, free: 17.66 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.001458/0.001458, allocations: 66.25 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1853, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002664/0.188, allocations: 1.628 MB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1893, allocations: 0.8344 MB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.1893, allocations: 0 / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.1894, allocations: 11.86 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.1895, allocations: 27.73 kB / 0.7872 GB, free: 0.6523 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.0005493/0.19, allocations: 155.5 kB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.1902, allocations: 151.5 kB / 0.7875 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.1903, allocations: 33.05 kB / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1904, allocations: 67.81 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1905, allocations: 71.72 kB / 0.7877 GB, free: 184 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1906, allocations: 16 kB / 0.7877 GB, free: 168 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.1907, allocations: 103.8 kB / 0.7878 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.1908, allocations: 35.89 kB / 0.7878 GB, free: 28 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.3223/0.5131, allocations: 57.47 kB / 0.7879 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.5135, allocations: 211.5 kB / 0.7881 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.5135, allocations: 0 / 0.7881 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5135, allocations: 0 / 0.7881 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.5135, allocations: 0.8438 kB / 0.7881 GB, free: 46.69 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.0006513/0.5142, allocations: 0.5408 MB / 0.7886 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.5142, allocations: 7.969 kB / 0.7886 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.5143, allocations: 14.16 kB / 0.7887 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.5143, allocations: 184.9 kB / 0.7888 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.5144, allocations: 10.23 kB / 0.7888 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.5144, allocations: 5.875 kB / 0.7888 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.5148, allocations: 137.4 kB / 0.789 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5149, allocations: 5.812 kB / 0.789 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.5149, allocations: 1.312 kB / 0.789 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5149, allocations: 6.516 kB / 0.789 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.5153, allocations: 102.5 kB / 0.7891 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.516, allocations: 379.9 kB / 0.7895 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.5163, allocations: 104.5 kB / 0.7896 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.5166, allocations: 89.05 kB / 0.7896 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.5167, allocations: 3.25 kB / 0.7896 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000429/0.5171, allocations: 139.3 kB / 0.7898 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.542e-06/0.5171, allocations: 0 / 0.7898 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.001059/0.5182, allocations: 308.2 kB / 0.7901 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.5182, allocations: 58.66 kB / 0.7901 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/0.5183, allocations: 141.8 kB / 0.7903 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.5183, allocations: 34.59 kB / 0.7903 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.5184, allocations: 99.77 kB / 0.7904 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.5184, allocations: 26.72 kB / 0.7904 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.5185, allocations: 30.67 kB / 0.7904 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.5185, allocations: 328.5 kB / 0.7908 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.5186, allocations: 39.7 kB / 0.7908 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.5188, allocations: 78.38 kB / 0.7909 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.519, allocations: 127.1 kB / 0.791 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.519, allocations: 0 / 0.791 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000316/0.5193, allocations: 157.1 kB / 0.7911 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.5194, allocations: 16.66 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5194, allocations: 1.125 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5194, allocations: 3.031 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.5195, allocations: 18.91 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.5196, allocations: 4 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.5197, allocations: 11.7 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.5197, allocations: 5.25 kB / 0.7912 GB, free: 44.8 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 7.502e-05/0.5198, allocations: 132.7 kB / 0.7913 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.5198, allocations: 12.58 kB / 0.7913 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.5198, allocations: 14.09 kB / 0.7913 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5198, allocations: 2.438 kB / 0.7913 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5198, allocations: 3.312 kB / 0.7914 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.5199, allocations: 87.55 kB / 0.7914 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.5199, allocations: 6.391 kB / 0.7914 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.5201, allocations: 23.67 kB / 0.7915 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.5201, allocations: 11.75 kB / 0.7915 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000747/0.5209, allocations: 311.6 kB / 0.7918 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007018/0.5216, allocations: 400.6 kB / 0.7922 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003077/0.5219, allocations: 90.28 kB / 0.7922 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.401e-05/0.522, allocations: 111.7 kB / 0.7923 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of Backend: time 4.81e-07/0.522, allocations: 0 / 0.7923 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006781/0.5227, allocations: 210.6 kB / 0.7925 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003606/0.523, allocations: 0.6469 MB / 0.7932 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.004537/0.5276, allocations: 2.172 MB / 0.7953 GB, free: 43.4 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)