Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 107.5 kB / 16.37 MB, free: 6.309 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.001123/0.001123, allocations: 190.3 kB / 17.3 MB, free: 5.871 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.283/1.283, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.765/1.765, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.03 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1826, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002465/0.1851, allocations: 1.507 MB / 0.7863 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1863, allocations: 0.776 MB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.1863, allocations: 0 / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.1864, allocations: 3.938 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.775e-05/0.1864, allocations: 15.86 kB / 0.787 GB, free: 0.8828 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.0004992/0.1869, allocations: 123.6 kB / 0.7871 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.187, allocations: 71.83 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.973e-05/0.1871, allocations: 8 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/0.1872, allocations: 47.78 kB / 0.7873 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.1873, allocations: 35.89 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1873, allocations: 4 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.1875, allocations: 95.91 kB / 0.7874 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.1875, allocations: 15.92 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.1876, allocations: 35.78 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1878, allocations: 143.5 kB / 0.7876 GB, free: 320 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1878, allocations: 4 kB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1878, allocations: 0 / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.1878, allocations: 0 / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.3012/0.489, allocations: 415.3 kB / 0.788 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/0.489, allocations: 7.625 kB / 0.788 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.4891, allocations: 13.02 kB / 0.788 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.4892, allocations: 174.7 kB / 0.7882 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.4893, allocations: 6.344 kB / 0.7882 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.4893, allocations: 4.625 kB / 0.7882 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.4895, allocations: 69.25 kB / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4896, allocations: 0 / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.4896, allocations: 7.734 kB / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4896, allocations: 0 / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.4897, allocations: 37.14 kB / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.4904, allocations: 320.6 kB / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.4906, allocations: 51.56 kB / 0.7886 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.4907, allocations: 39.2 kB / 0.7887 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.4907, allocations: 0 / 0.7887 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.491, allocations: 79.81 kB / 0.7888 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/0.491, allocations: 1.172 kB / 0.7888 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000435/0.4914, allocations: 133.9 kB / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.4914, allocations: 53.03 kB / 0.7889 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/0.4915, allocations: 131.2 kB / 0.7891 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4916, allocations: 28.48 kB / 0.7891 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.4916, allocations: 94.22 kB / 0.7892 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.4917, allocations: 15.66 kB / 0.7892 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.4917, allocations: 27.12 kB / 0.7892 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.4918, allocations: 318.1 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.4919, allocations: 28.19 kB / 0.7896 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.298e-05/0.4919, allocations: 52.44 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.4921, allocations: 74.64 kB / 0.7897 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4921, allocations: 2.625 kB / 0.7897 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002219/0.4924, allocations: 115.9 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4924, allocations: 7.125 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4924, allocations: 0 / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4924, allocations: 2.625 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.4925, allocations: 11.3 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4925, allocations: 3.562 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.4926, allocations: 8.766 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.4926, allocations: 9.688 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.355e-05/0.4927, allocations: 119.5 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.4927, allocations: 9.953 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.4927, allocations: 10.62 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4927, allocations: 0 / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4928, allocations: 2.875 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.4928, allocations: 85.84 kB / 0.79 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.4928, allocations: 5.625 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.675e-05/0.4929, allocations: 3.75 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.4929, allocations: 12.69 kB / 0.7901 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002407/0.4932, allocations: 190.5 kB / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002289/0.4934, allocations: 277.3 kB / 0.7905 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.148e-05/0.4935, allocations: 32.91 kB / 0.7905 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.4935, allocations: 98.56 kB / 0.7906 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of Backend: time 3.51e-07/0.4935, allocations: 0 / 0.7906 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006318/0.4942, allocations: 186.1 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003258/0.4945, allocations: 0.6097 MB / 0.7914 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.003537/0.4981, allocations: 1.497 MB / 0.7929 GB, free: 46.32 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)