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.001437/0.001437, 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.001645/0.001645, allocations: 195.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.443/1.443, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.635/1.635, allocations: 251.7 MB / 0.5092 GB, free: 3.121 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.001837/0.001837, allocations: 72.47 kB / 0.6223 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5114, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002671/0.5141, allocations: 1.477 MB / 0.7259 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.5154, allocations: 0.7834 MB / 0.7267 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.5155, allocations: 4 kB / 0.7267 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.5155, allocations: 7.875 kB / 0.7267 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.037e-05/0.5156, allocations: 3.938 kB / 0.7267 GB, free: 10.64 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.0005945/0.5162, allocations: 121.5 kB / 0.7268 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.5163, allocations: 75.72 kB / 0.7269 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.5164, allocations: 23.97 kB / 0.7269 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.5165, allocations: 31.92 kB / 0.727 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.5165, allocations: 43.81 kB / 0.727 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.5166, allocations: 8 kB / 0.727 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.5168, allocations: 91.84 kB / 0.7271 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.5168, allocations: 19.92 kB / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.5169, allocations: 31.86 kB / 0.7272 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.5171, allocations: 141.6 kB / 0.7273 GB, free: 10.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5171, allocations: 4 kB / 0.7273 GB, free: 10.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5171, allocations: 0 / 0.7273 GB, free: 10.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.5171, allocations: 0 / 0.7273 GB, free: 10.06 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.000633/0.5178, allocations: 424.8 kB / 0.7277 GB, free: 9.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.5178, allocations: 15.95 kB / 0.7277 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.5178, allocations: 8.844 kB / 0.7277 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.518, allocations: 172.3 kB / 0.7279 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.518, allocations: 8.375 kB / 0.7279 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.518, allocations: 8.375 kB / 0.7279 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.5182, allocations: 65.97 kB / 0.728 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5182, allocations: 0 / 0.728 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.5182, allocations: 4 kB / 0.728 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.5183, allocations: 4 kB / 0.728 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.5184, allocations: 39.91 kB / 0.728 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.519, allocations: 312.7 kB / 0.7283 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.5191, allocations: 58.53 kB / 0.7284 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.5192, allocations: 28.97 kB / 0.7284 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.5192, allocations: 4 kB / 0.7284 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.5194, allocations: 83.38 kB / 0.7285 GB, free: 8.676 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.5194, allocations: 3.938 kB / 0.7285 GB, free: 8.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003939/0.5198, allocations: 137.5 kB / 0.7286 GB, free: 8.531 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.5199, allocations: 51.41 kB / 0.7287 GB, free: 8.469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.52, allocations: 125.8 kB / 0.7288 GB, free: 8.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.52, allocations: 29.7 kB / 0.7288 GB, free: 8.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.5201, allocations: 88.14 kB / 0.7289 GB, free: 8.211 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.5201, allocations: 27.73 kB / 0.7289 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.5201, allocations: 21.72 kB / 0.7289 GB, free: 8.156 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5202, allocations: 322.8 kB / 0.7292 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.5203, allocations: 27.98 kB / 0.7293 GB, free: 7.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.955e-05/0.5204, allocations: 50.48 kB / 0.7293 GB, free: 7.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.5206, allocations: 78.53 kB / 0.7294 GB, free: 7.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5206, allocations: 0 / 0.7294 GB, free: 7.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002258/0.5208, allocations: 109.8 kB / 0.7295 GB, free: 7.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.5209, allocations: 4 kB / 0.7295 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5209, allocations: 4 kB / 0.7295 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.5209, allocations: 3.984 kB / 0.7295 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.521, allocations: 16 kB / 0.7295 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.521, allocations: 80 / 0.7295 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.5211, allocations: 15.89 kB / 0.7295 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.5211, allocations: 7.984 kB / 0.7296 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 8.832e-05/0.5212, allocations: 119.7 kB / 0.7297 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.5212, allocations: 8 kB / 0.7297 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.5213, allocations: 8.375 kB / 0.7297 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.5213, allocations: 3.984 kB / 0.7297 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5213, allocations: 7.938 kB / 0.7297 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5213, allocations: 0 / 0.7297 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.5217, allocations: 390.2 kB / 0.7301 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5217, allocations: 0 / 0.7301 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.5218, allocations: 4 kB / 0.7301 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5218, allocations: 0 / 0.7301 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.5218, allocations: 4 kB / 0.7301 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5218, allocations: 0 / 0.7301 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5218, allocations: 11.92 kB / 0.7301 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.5221, allocations: 203.5 kB / 0.7303 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.5221, allocations: 85.02 kB / 0.7304 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.5222, allocations: 0 / 0.7304 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.925e-05/0.5223, allocations: 7.984 kB / 0.7304 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.5223, allocations: 7.938 kB / 0.7304 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.5223, allocations: 3.984 kB / 0.7304 GB, free: 6.551 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.5224, allocations: 95.28 kB / 0.7305 GB, free: 6.457 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5224, allocations: 0 / 0.7305 GB, free: 6.457 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002885/0.5227, allocations: 43.92 kB / 0.7305 GB, free: 6.414 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.0003189/0.523, allocations: 156.4 kB / 0.7307 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.5232, allocations: 79.89 kB / 0.7307 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5233, allocations: 3.938 kB / 0.7307 GB, free: 6.188 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/0.5234, allocations: 35.92 kB / 0.7308 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.5236, allocations: 11.98 kB / 0.7308 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.524, allocations: 188.9 kB / 0.731 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.5243, allocations: 0.6885 MB / 0.7316 GB, free: 5.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.593e-05/0.5243, allocations: 7.938 kB / 0.7316 GB, free: 5.203 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.5243, allocations: 11.44 kB / 0.7317 GB, free: 5.195 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.5243, allocations: 0 / 0.7317 GB, free: 5.195 MB / 0.545 GB Notification: Performance of Templates: time 0.003914/0.5283, allocations: 1.457 MB / 0.7331 GB, free: 3.75 MB / 0.545 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)