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.001518/0.001518, allocations: 103.9 kB / 16.36 MB, free: 6.352 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.001712/0.001712, allocations: 194.2 kB / 17.3 MB, free: 5.891 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.509/1.509, 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.767/1.767, allocations: 292.3 MB / 0.5496 GB, free: 17.67 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.001404/0.001404, allocations: 74.81 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2175, allocations: 114.5 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00288/0.2204, allocations: 1.48 MB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.2217, allocations: 0.7798 MB / 0.787 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.2218, allocations: 0 / 0.787 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.2219, allocations: 3.938 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.2219, allocations: 11.88 kB / 0.787 GB, free: 0.8945 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.0005889/0.2225, allocations: 119.6 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.2227, allocations: 83.75 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.2228, allocations: 8 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.1e-05/0.2229, allocations: 39.84 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.2229, allocations: 39.89 kB / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.223, allocations: 8 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.2232, allocations: 91.84 kB / 0.7874 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.2232, allocations: 19.92 kB / 0.7874 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.2232, allocations: 31.86 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.2235, allocations: 135.6 kB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2235, allocations: 4 kB / 0.7876 GB, free: 332 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2235, allocations: 0 / 0.7876 GB, free: 332 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.2235, allocations: 4 kB / 0.7876 GB, free: 328 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.3198/0.5433, allocations: 421.6 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5433, allocations: 8.719 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.5434, allocations: 7.844 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.481e-05/0.5435, allocations: 176.2 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.5435, allocations: 3.188 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.5436, allocations: 7.781 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.5438, allocations: 67.81 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.5438, allocations: 0.8438 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5438, allocations: 3.938 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5438, allocations: 3.312 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.5439, allocations: 43.48 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.5444, allocations: 309.6 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.5446, allocations: 58.17 kB / 0.7886 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.5446, allocations: 31.67 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.5447, allocations: 5.234 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.5449, allocations: 83.33 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.5449, allocations: 0 / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003363/0.5452, allocations: 133.5 kB / 0.7889 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.5453, allocations: 54.38 kB / 0.7889 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.315e-05/0.5453, allocations: 121.8 kB / 0.789 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.5453, allocations: 32.3 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.5454, allocations: 89.88 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.5454, allocations: 15.92 kB / 0.7892 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.5454, allocations: 26.98 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.5455, allocations: 324.8 kB / 0.7895 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.309e-05/0.5456, allocations: 30.7 kB / 0.7895 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.5457, allocations: 56.44 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.5458, allocations: 70.83 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5458, allocations: 0 / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001941/0.546, allocations: 118.6 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.546, allocations: 5.469 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.546, allocations: 0 / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5461, allocations: 6.438 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.5462, allocations: 15.91 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5462, allocations: 0.5312 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.5462, allocations: 15.09 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.5463, allocations: 6.844 kB / 0.7898 GB, free: 47.53 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.08e-05/0.5463, allocations: 116.4 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.5463, allocations: 7.906 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.5464, allocations: 15.86 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.5464, allocations: 0 / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5464, allocations: 0 / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5464, allocations: 2.875 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.5467, allocations: 379.4 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5467, allocations: 0 / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.5468, allocations: 9.797 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5468, allocations: 0 / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.5468, allocations: 0 / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5468, allocations: 2.625 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5468, allocations: 0.5 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.547, allocations: 219.7 kB / 0.7905 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.5471, allocations: 84.7 kB / 0.7906 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.5471, allocations: 3.844 kB / 0.7906 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.5472, allocations: 6.953 kB / 0.7906 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.5472, allocations: 9.719 kB / 0.7906 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.5473, allocations: 3.406 kB / 0.7906 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.217e-05/0.5473, allocations: 92.38 kB / 0.7907 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5473, allocations: 0 / 0.7907 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002849/0.5476, allocations: 41.61 kB / 0.7908 GB, free: 46.79 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.0003033/0.5479, allocations: 167.8 kB / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.5481, allocations: 72.94 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5481, allocations: 5.172 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.511e-05/0.5482, allocations: 34.64 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.5485, allocations: 8.609 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.5488, allocations: 212.9 kB / 0.7912 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.793e-05/0.5489, allocations: 0.692 MB / 0.7919 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.549, allocations: 17.42 kB / 0.7919 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.549, allocations: 0 / 0.7919 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.002922/0.5519, allocations: 1.616 MB / 0.7935 GB, free: 45.76 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)