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.001049/0.001048, allocations: 103.1 kB / 16.35 MB, free: 6.348 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.001071/0.001071, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.425/1.425, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.825/1.825, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001518/0.001518, allocations: 63.91 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2116, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002782/0.2144, allocations: 1.473 MB / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.2158, allocations: 0.7721 MB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.475e-05/0.2159, allocations: 0 / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.216, allocations: 3.938 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.2161, allocations: 19.84 kB / 0.787 GB, free: 0.8281 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.000669/0.2167, allocations: 119.6 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.2169, allocations: 79.72 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.217, allocations: 19.92 kB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.897e-05/0.2171, allocations: 35.91 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.761e-05/0.2171, allocations: 31.91 kB / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2172, allocations: 4 kB / 0.7873 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.2174, allocations: 99.84 kB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.2174, allocations: 23.91 kB / 0.7874 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.2175, allocations: 31.84 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.2177, allocations: 135.6 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2177, allocations: 4 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2177, allocations: 0 / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2178, allocations: 0 / 0.7875 GB, free: 260 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.3515/0.5693, allocations: 418.1 kB / 0.7879 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5693, allocations: 12.16 kB / 0.788 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.5694, allocations: 8.625 kB / 0.788 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.5695, allocations: 171.7 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.5695, allocations: 4 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.5696, allocations: 11.27 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.5698, allocations: 67.8 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5698, allocations: 2.531 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5698, allocations: 4.938 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.5698, allocations: 0 / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.5699, allocations: 37.78 kB / 0.7883 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.5705, allocations: 325.8 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.5706, allocations: 50.81 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/0.5707, allocations: 33.19 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.5708, allocations: 2.625 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.571, allocations: 78.17 kB / 0.7887 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.571, allocations: 0 / 0.7887 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003581/0.5713, allocations: 137.2 kB / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.5714, allocations: 54.75 kB / 0.7889 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.5715, allocations: 130.2 kB / 0.789 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.5715, allocations: 28.52 kB / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.5715, allocations: 90.53 kB / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.5716, allocations: 17.5 kB / 0.7892 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.5716, allocations: 29.84 kB / 0.7892 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.5717, allocations: 326.1 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.5717, allocations: 24.59 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.588e-05/0.5718, allocations: 47.27 kB / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.572, allocations: 74.64 kB / 0.7896 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.572, allocations: 0 / 0.7896 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000208/0.5722, allocations: 113 kB / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.5722, allocations: 6.406 kB / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5722, allocations: 2.281 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.5723, allocations: 2.625 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.5724, allocations: 10.59 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5724, allocations: 2.625 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.5725, allocations: 7.031 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.5725, allocations: 11.17 kB / 0.7898 GB, free: 47.62 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 7.203e-05/0.5726, allocations: 124.9 kB / 0.7899 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.5726, allocations: 6.531 kB / 0.7899 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.5726, allocations: 12.62 kB / 0.7899 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.5726, allocations: 0.625 kB / 0.7899 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5726, allocations: 2.625 kB / 0.7899 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5726, allocations: 1.844 kB / 0.7899 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.573, allocations: 383.5 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.573, allocations: 1.281 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.5731, allocations: 5.406 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5731, allocations: 2.812 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5731, allocations: 6.25 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5731, allocations: 3.438 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5731, allocations: 2.734 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.5733, allocations: 213.9 kB / 0.7905 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.5734, allocations: 84.52 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.5734, allocations: 0 / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.5735, allocations: 8.641 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.5735, allocations: 10.5 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.5735, allocations: 7.281 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.5736, allocations: 90.28 kB / 0.7907 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5736, allocations: 0.5 kB / 0.7907 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002995/0.5739, allocations: 39.06 kB / 0.7907 GB, free: 46.88 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0002979/0.5742, allocations: 162.4 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.5744, allocations: 65.67 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5744, allocations: 0 / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.5745, allocations: 38.34 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.5748, allocations: 12.94 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.5752, allocations: 181.8 kB / 0.7912 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.5753, allocations: 0.6881 MB / 0.7919 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.5753, allocations: 7.516 kB / 0.7919 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.5753, allocations: 16.39 kB / 0.7919 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.5753, allocations: 0 / 0.7919 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.003698/0.579, allocations: 1.454 MB / 0.7933 GB, free: 45.91 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)