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.001529/0.00153, allocations: 105.3 kB / 16.29 MB, free: 6.125 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.001109/0.001109, allocations: 181 kB / 17.22 MB, free: 5.734 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.498/1.498, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.944/1.944, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001392/0.001393, allocations: 72.42 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2524, allocations: 114.5 MB / 0.7841 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002869/0.2553, allocations: 1.469 MB / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.2566, allocations: 0.7722 MB / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.2567, allocations: 0 / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.453e-05/0.2567, allocations: 7.922 kB / 0.7863 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/0.2568, allocations: 15.86 kB / 0.7863 GB, free: 1.637 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.0005639/0.2573, allocations: 127.5 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2574, allocations: 79.72 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.2576, allocations: 11.97 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.024e-05/0.2576, allocations: 35.91 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.2577, allocations: 43.83 kB / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2577, allocations: 4 kB / 0.7866 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.2579, allocations: 95.84 kB / 0.7867 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.258, allocations: 15.97 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.258, allocations: 35.86 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.2582, allocations: 143.9 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2583, allocations: 0 / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2583, allocations: 3.938 kB / 0.7869 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2583, allocations: 0 / 0.7869 GB, free: 1.051 MB / 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.0006938/0.259, allocations: 413 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.259, allocations: 12.03 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.2591, allocations: 4.844 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2592, allocations: 176.2 kB / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.2592, allocations: 12.38 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.2593, allocations: 4.375 kB / 0.7874 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.2594, allocations: 69.97 kB / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2595, allocations: 0 / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2595, allocations: 4 kB / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2595, allocations: 0 / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.2596, allocations: 35.97 kB / 0.7875 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.534/0.7936, allocations: 315.2 kB / 0.7878 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.7939, allocations: 47.03 kB / 0.7879 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/0.794, allocations: 33.39 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.794, allocations: 4.375 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.7944, allocations: 74.02 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 5.23e-06/0.7944, allocations: 0.6562 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003767/0.7947, allocations: 144.8 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.7948, allocations: 60.23 kB / 0.7882 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.7949, allocations: 120.4 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.7949, allocations: 29.03 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.795, allocations: 92.47 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.795, allocations: 17.08 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.7951, allocations: 30.23 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.286e-05/0.7951, allocations: 324.2 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.7952, allocations: 24.44 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.848e-05/0.7953, allocations: 48.19 kB / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.7954, allocations: 77.2 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7954, allocations: 1 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000199/0.7957, allocations: 117.2 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7957, allocations: 5.531 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7957, allocations: 1.406 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.7957, allocations: 2.625 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.7958, allocations: 14.14 kB / 0.7891 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.7958, allocations: 0.5938 kB / 0.7891 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.7959, allocations: 12.28 kB / 0.7891 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.7959, allocations: 2.625 kB / 0.7891 GB, free: 47.81 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.346e-05/0.796, allocations: 121.2 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.796, allocations: 17.73 kB / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.7961, allocations: 13.19 kB / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7961, allocations: 0 / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7961, allocations: 0 / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7961, allocations: 0 / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.7965, allocations: 381.2 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7965, allocations: 3.375 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.7965, allocations: 8.531 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.7965, allocations: 2.562 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.7966, allocations: 7.484 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7966, allocations: 5.906 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7966, allocations: 0 / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.7968, allocations: 207.2 kB / 0.7898 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.7968, allocations: 86.67 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.7969, allocations: 2.625 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.7969, allocations: 5.906 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.797, allocations: 3.312 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.797, allocations: 8.359 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.234e-05/0.797, allocations: 90.58 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.12e-07/0.797, allocations: 0.5 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003136/0.7974, allocations: 42.47 kB / 0.79 GB, free: 47.09 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.0003441/0.7977, allocations: 159.4 kB / 0.7902 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.798, allocations: 75.8 kB / 0.7903 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.798, allocations: 0 / 0.7903 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.089e-05/0.7981, allocations: 37.56 kB / 0.7903 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.7983, allocations: 12.95 kB / 0.7903 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.7987, allocations: 189.2 kB / 0.7905 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.7989, allocations: 0.688 MB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.419e-05/0.799, allocations: 4.094 kB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.799, allocations: 13.92 kB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.799, allocations: 3.219 kB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.004114/0.8031, allocations: 1.46 MB / 0.7926 GB, free: 46.12 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)