Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.006157/0.006157, allocations: 101.1 kB / 15.73 MB, free: 6.066 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.001306/0.001306, allocations: 196.6 kB / 16.68 MB, free: 5.973 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.555/1.555, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.561/1.561, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.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.001462/0.001462, allocations: 71.89 kB / 0.7257 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6824/0.6838, allocations: 104.7 MB / 0.828 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002673/0.6866, allocations: 1.488 MB / 0.8295 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.6879, allocations: 0.7702 MB / 0.8302 GB, free: 316 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.688, allocations: 0 / 0.8302 GB, free: 316 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.688, allocations: 7.922 kB / 0.8302 GB, free: 308 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.474e-05/0.6881, allocations: 15.86 kB / 0.8302 GB, free: 292 kB / 0.6231 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.0005935/0.6887, allocations: 127.5 kB / 0.8304 GB, free: 164 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.6888, allocations: 75.78 kB / 0.8304 GB, free: 88 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.6889, allocations: 11.98 kB / 0.8304 GB, free: 76 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/0.6891, allocations: 39.91 kB / 0.8305 GB, free: 36 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.265e-05/0.6891, allocations: 39.88 kB / 0.8305 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.6892, allocations: 4 kB / 0.8305 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.6894, allocations: 95.8 kB / 0.8306 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.6894, allocations: 23.91 kB / 0.8306 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.6895, allocations: 31.86 kB / 0.8307 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.6897, allocations: 144.2 kB / 0.8308 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6897, allocations: 4 kB / 0.8308 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6898, allocations: 0 / 0.8308 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.6898, allocations: 0 / 0.8308 GB, free: 15.71 MB / 0.6387 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.000689/0.6905, allocations: 416.7 kB / 0.8312 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.6905, allocations: 12.03 kB / 0.8312 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.6906, allocations: 8.891 kB / 0.8312 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.6907, allocations: 176.2 kB / 0.8314 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.6907, allocations: 4.375 kB / 0.8314 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.6908, allocations: 8.375 kB / 0.8314 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.691, allocations: 73.95 kB / 0.8315 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.691, allocations: 0 / 0.8315 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.691, allocations: 0 / 0.8315 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.691, allocations: 0 / 0.8315 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.6911, allocations: 35.97 kB / 0.8315 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.6918, allocations: 324.7 kB / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.6919, allocations: 50.5 kB / 0.8319 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.6921, allocations: 32.97 kB / 0.8319 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.6921, allocations: 0 / 0.8319 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.6923, allocations: 87.31 kB / 0.832 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.6923, allocations: 0 / 0.832 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004202/0.6927, allocations: 137.6 kB / 0.8321 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.6928, allocations: 55.41 kB / 0.8322 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.6929, allocations: 129.7 kB / 0.8323 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.6929, allocations: 25.7 kB / 0.8323 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.693, allocations: 92.14 kB / 0.8324 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.693, allocations: 15.89 kB / 0.8324 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.6931, allocations: 33.64 kB / 0.8324 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6932, allocations: 322.8 kB / 0.8328 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.6933, allocations: 27.98 kB / 0.8328 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.67e-05/0.6934, allocations: 46.55 kB / 0.8328 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.6936, allocations: 82.42 kB / 0.8329 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6936, allocations: 0 / 0.8329 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002354/0.6939, allocations: 109.5 kB / 0.833 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.6939, allocations: 4 kB / 0.833 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6939, allocations: 3.984 kB / 0.833 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.6939, allocations: 4 kB / 0.833 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.694, allocations: 16.06 kB / 0.833 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.694, allocations: 0 / 0.833 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.526e-05/0.6941, allocations: 11.92 kB / 0.833 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.6941, allocations: 4 kB / 0.8331 GB, free: 13.16 MB / 0.6387 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 9.629e-05/0.6942, allocations: 121.7 kB / 0.8332 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.6943, allocations: 7.953 kB / 0.8332 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.6943, allocations: 12.36 kB / 0.8332 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.6943, allocations: 7.984 kB / 0.8332 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6943, allocations: 4 kB / 0.8332 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6943, allocations: 0 / 0.8332 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.6948, allocations: 382.4 kB / 0.8336 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6948, allocations: 0 / 0.8336 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.6948, allocations: 4 kB / 0.8336 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6949, allocations: 0 / 0.8336 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.6949, allocations: 4 kB / 0.8336 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.6949, allocations: 3.984 kB / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6949, allocations: 7.938 kB / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.6952, allocations: 207.5 kB / 0.8338 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.6953, allocations: 81.11 kB / 0.8339 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.6953, allocations: 4 kB / 0.8339 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.6954, allocations: 3.984 kB / 0.8339 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.6954, allocations: 7.938 kB / 0.8339 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.6954, allocations: 11.92 kB / 0.8339 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.6955, allocations: 95.27 kB / 0.834 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6955, allocations: 3.938 kB / 0.834 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003125/0.6958, allocations: 39.88 kB / 0.834 GB, free: 12.07 MB / 0.6387 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.0003756/0.6962, allocations: 165.5 kB / 0.8342 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002738/0.6965, allocations: 79.89 kB / 0.8343 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6965, allocations: 0 / 0.8343 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.6966, allocations: 31.98 kB / 0.8343 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.6969, allocations: 4 kB / 0.8343 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.6974, allocations: 192.8 kB / 0.8345 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.6978, allocations: 0.6963 MB / 0.8351 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.6978, allocations: 4 kB / 0.8352 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.6978, allocations: 7.438 kB / 0.8352 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.6979, allocations: 0 / 0.8352 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of Templates: time 0.004689/0.7025, allocations: 1.46 MB / 0.8366 GB, free: 9.402 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)