Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001229/0.001229, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.538/1.538, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.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.623/1.623, allocations: 251.7 MB / 0.5092 GB, free: 3.082 MB / 414.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.001802/0.001802, allocations: 72.47 kB / 0.6223 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6546/0.6564, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002845/0.6593, allocations: 1.466 MB / 0.7259 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.6607, allocations: 0.7834 MB / 0.7267 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.6607, allocations: 3.938 kB / 0.7267 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.6608, allocations: 7.938 kB / 0.7267 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.6608, allocations: 11.88 kB / 0.7267 GB, free: 10.63 MB / 0.545 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.0006099/0.6615, allocations: 119.6 kB / 0.7268 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.6616, allocations: 83.75 kB / 0.7269 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.6617, allocations: 8 kB / 0.7269 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.6618, allocations: 39.86 kB / 0.727 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.6619, allocations: 47.81 kB / 0.727 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.6619, allocations: 4 kB / 0.727 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.6621, allocations: 91.91 kB / 0.7271 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.6622, allocations: 15.98 kB / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.6622, allocations: 31.8 kB / 0.7272 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.6624, allocations: 145.6 kB / 0.7273 GB, free: 10.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.6625, allocations: 0 / 0.7273 GB, free: 10.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6625, allocations: 0 / 0.7273 GB, free: 10.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.6625, allocations: 4 kB / 0.7273 GB, free: 10.05 MB / 0.545 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.0007081/0.6632, allocations: 436.2 kB / 0.7277 GB, free: 9.574 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.6633, allocations: 12.03 kB / 0.7277 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.6633, allocations: 8.844 kB / 0.7277 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.6635, allocations: 172.3 kB / 0.7279 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.6635, allocations: 384 / 0.7279 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.6636, allocations: 4.375 kB / 0.7279 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.6638, allocations: 73.97 kB / 0.728 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6638, allocations: 0 / 0.728 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.6638, allocations: 0 / 0.728 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.6639, allocations: 3.984 kB / 0.728 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.664, allocations: 43.91 kB / 0.728 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.6647, allocations: 328.7 kB / 0.7283 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.6648, allocations: 46.56 kB / 0.7284 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.6649, allocations: 32.97 kB / 0.7284 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.665, allocations: 0 / 0.7284 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.6652, allocations: 83.31 kB / 0.7285 GB, free: 8.664 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.6652, allocations: 0 / 0.7285 GB, free: 8.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004517/0.6657, allocations: 129.5 kB / 0.7286 GB, free: 8.531 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.6658, allocations: 63.34 kB / 0.7287 GB, free: 8.457 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.6659, allocations: 125.8 kB / 0.7288 GB, free: 8.324 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.6659, allocations: 25.7 kB / 0.7288 GB, free: 8.293 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.666, allocations: 84.14 kB / 0.7289 GB, free: 8.207 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.666, allocations: 27.8 kB / 0.7289 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.6661, allocations: 29.7 kB / 0.7289 GB, free: 8.145 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6662, allocations: 322.8 kB / 0.7293 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.6663, allocations: 27.92 kB / 0.7293 GB, free: 7.793 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.6664, allocations: 50.55 kB / 0.7293 GB, free: 7.734 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.6666, allocations: 70.55 kB / 0.7294 GB, free: 7.656 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.6666, allocations: 0 / 0.7294 GB, free: 7.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000225/0.6668, allocations: 113.5 kB / 0.7295 GB, free: 7.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.6669, allocations: 7.984 kB / 0.7295 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.6669, allocations: 0 / 0.7295 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.6669, allocations: 4 kB / 0.7295 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.248e-05/0.667, allocations: 11.94 kB / 0.7295 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.667, allocations: 0 / 0.7295 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.6671, allocations: 11.89 kB / 0.7295 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.6671, allocations: 8 kB / 0.7295 GB, free: 7.496 MB / 0.545 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 0.0001001/0.6672, allocations: 121.8 kB / 0.7297 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.6672, allocations: 4 kB / 0.7297 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.6673, allocations: 12.36 kB / 0.7297 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6673, allocations: 0 / 0.7297 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6673, allocations: 4 kB / 0.7297 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.6673, allocations: 3.938 kB / 0.7297 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.6677, allocations: 386.2 kB / 0.7301 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.6678, allocations: 4 kB / 0.7301 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.6678, allocations: 4 kB / 0.7301 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6678, allocations: 0 / 0.7301 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.6678, allocations: 3.984 kB / 0.7301 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6678, allocations: 0 / 0.7301 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6678, allocations: 3.938 kB / 0.7301 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.6681, allocations: 207.9 kB / 0.7303 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.6682, allocations: 85.02 kB / 0.7303 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.6682, allocations: 7.984 kB / 0.7304 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.6683, allocations: 0 / 0.7304 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.6684, allocations: 15.92 kB / 0.7304 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.6684, allocations: 11.98 kB / 0.7304 GB, free: 6.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.6685, allocations: 91.27 kB / 0.7305 GB, free: 6.449 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6685, allocations: 0 / 0.7305 GB, free: 6.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003188/0.6688, allocations: 39.94 kB / 0.7305 GB, free: 6.41 MB / 0.545 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.0004274/0.6692, allocations: 155.1 kB / 0.7307 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.6695, allocations: 87.81 kB / 0.7307 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6695, allocations: 0 / 0.7307 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.6696, allocations: 35.92 kB / 0.7308 GB, free: 6.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.6699, allocations: 17.05 kB / 0.7308 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.6704, allocations: 180.8 kB / 0.731 GB, free: 5.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.6708, allocations: 0.6924 MB / 0.7316 GB, free: 5.203 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.6708, allocations: 8 kB / 0.7316 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.6708, allocations: 11.44 kB / 0.7317 GB, free: 5.188 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6708, allocations: 3.938 kB / 0.7317 GB, free: 5.184 MB / 0.545 GB Notification: Performance of Templates: time 0.004075/0.6749, allocations: 1.456 MB / 0.7331 GB, free: 3.742 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)