Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 104.4 kB / 16.37 MB, free: 6.262 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.0009869/0.0009869, allocations: 192.8 kB / 17.3 MB, free: 5.848 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.29/1.29, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.732/1.732, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001379/0.001379, allocations: 63.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1955, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002603/0.1981, allocations: 1.476 MB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1993, allocations: 0.7759 MB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.1994, allocations: 4 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.1994, allocations: 3.938 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.973e-05/0.1995, allocations: 15.86 kB / 0.787 GB, free: 0.8438 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.000499/0.2, allocations: 123.6 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.689e-05/0.2001, allocations: 67.84 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.697e-05/0.2002, allocations: 15.98 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.2003, allocations: 39.78 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.2003, allocations: 35.89 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.2003, allocations: 8 kB / 0.7873 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.2005, allocations: 95.91 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.2006, allocations: 23.91 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.2006, allocations: 27.86 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.2008, allocations: 143.5 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2008, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2008, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2008, allocations: 0 / 0.7876 GB, free: 280 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.3474/0.5482, allocations: 414.2 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.5483, allocations: 12.25 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.064e-05/0.5484, allocations: 10.05 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.5485, allocations: 175 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.5486, allocations: 5.438 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.5486, allocations: 5.812 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.549, allocations: 67.59 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.549, allocations: 0 / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.549, allocations: 9.75 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.549, allocations: 1 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.5493, allocations: 36.81 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008106/0.5501, allocations: 321.2 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.5503, allocations: 52.81 kB / 0.7886 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.5505, allocations: 35.25 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.5505, allocations: 3 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.5508, allocations: 77.27 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.966e-06/0.5508, allocations: 0 / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0006188/0.5514, allocations: 135.4 kB / 0.7889 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.5515, allocations: 58.06 kB / 0.7889 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.5516, allocations: 130.3 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.5516, allocations: 28.52 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.5517, allocations: 92.2 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.5517, allocations: 18.12 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.5518, allocations: 25.5 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.5519, allocations: 320.8 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.552, allocations: 24.02 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.5522, allocations: 50.64 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.5525, allocations: 79.08 kB / 0.7897 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5525, allocations: 0 / 0.7897 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004162/0.5529, allocations: 112.5 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.553, allocations: 5.25 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.553, allocations: 3.281 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.553, allocations: 0 / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.5532, allocations: 13.5 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.5532, allocations: 4.969 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.5533, allocations: 7.219 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.5534, allocations: 9.234 kB / 0.7898 GB, free: 47.47 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 8.511e-05/0.5535, allocations: 122.7 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.5535, allocations: 11.64 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.5536, allocations: 10.45 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5536, allocations: 1.906 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5536, allocations: 2.406 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.5536, allocations: 88.86 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.5537, allocations: 6.188 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.5538, allocations: 7.078 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.5539, allocations: 7.281 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004071/0.5543, allocations: 189.9 kB / 0.7902 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004116/0.5547, allocations: 278.6 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001483/0.5549, allocations: 33.05 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.998e-05/0.555, allocations: 95.94 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of Backend: time 6.01e-07/0.555, allocations: 2.844 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009879/0.556, allocations: 179.4 kB / 0.7908 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004607/0.5565, allocations: 0.6207 MB / 0.7914 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.006373/0.5628, allocations: 1.499 MB / 0.7929 GB, free: 46.15 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)