Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001075/0.001075, allocations: 189.5 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.281/1.281, 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.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001547/0.001547, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1931, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002658/0.1957, allocations: 1.487 MB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.197, allocations: 0.7682 MB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.1971, allocations: 4 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.1971, allocations: 3.938 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.427e-05/0.1972, allocations: 15.84 kB / 0.787 GB, free: 0.8672 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.0005785/0.1978, allocations: 127.6 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.1979, allocations: 67.84 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.758e-05/0.198, allocations: 15.98 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.2e-05/0.1981, allocations: 39.78 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.332e-05/0.1981, allocations: 31.91 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1982, allocations: 8 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.1984, allocations: 91.91 kB / 0.7874 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.1984, allocations: 27.89 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.1984, allocations: 31.86 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1987, allocations: 147.5 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1987, allocations: 4 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1987, allocations: 0 / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.1987, allocations: 0 / 0.7876 GB, free: 292 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.3274/0.5261, allocations: 406.8 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.5262, allocations: 13.06 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.5262, allocations: 10.2 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.842e-05/0.5263, allocations: 173.6 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.5264, allocations: 5 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.5264, allocations: 6.312 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.5266, allocations: 69.5 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5266, allocations: 3.625 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.5266, allocations: 7.469 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5266, allocations: 0 / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.5267, allocations: 40.19 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.5273, allocations: 318.7 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.5274, allocations: 52.91 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.183e-05/0.5275, allocations: 32.47 kB / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.5275, allocations: 0 / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.5277, allocations: 78.11 kB / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.5277, allocations: 2.062 kB / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003532/0.5281, allocations: 136.7 kB / 0.7889 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.5281, allocations: 58.88 kB / 0.7889 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.5282, allocations: 120.9 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.5282, allocations: 30.52 kB / 0.7891 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.5282, allocations: 90.78 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.5283, allocations: 16.23 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.5283, allocations: 32.56 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/0.5284, allocations: 314.2 kB / 0.7895 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-05/0.5284, allocations: 31.12 kB / 0.7895 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.5285, allocations: 52.45 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.5287, allocations: 73.03 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5287, allocations: 0 / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002047/0.5289, allocations: 116.3 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.5289, allocations: 5.25 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5289, allocations: 3.391 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5289, allocations: 2.625 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.529, allocations: 15.52 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.529, allocations: 1.406 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.5291, allocations: 11.02 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.5291, allocations: 2.625 kB / 0.7898 GB, free: 47.49 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.051e-05/0.5292, allocations: 126.8 kB / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.5292, allocations: 6.531 kB / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.5292, allocations: 10.25 kB / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.5292, allocations: 3.141 kB / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5292, allocations: 2.797 kB / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.5293, allocations: 87.58 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.5293, allocations: 1.969 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.553e-05/0.5294, allocations: 5.766 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.5294, allocations: 14.03 kB / 0.79 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002367/0.5296, allocations: 189 kB / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002248/0.5299, allocations: 284.1 kB / 0.7905 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.107e-05/0.53, allocations: 34.69 kB / 0.7905 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.53, allocations: 93.81 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of Backend: time 2.91e-07/0.53, allocations: 0 / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005997/0.5306, allocations: 182.9 kB / 0.7908 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003285/0.531, allocations: 0.6173 MB / 0.7914 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.003502/0.5345, allocations: 1.497 MB / 0.7929 GB, free: 46.17 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)