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.001606/0.001606, allocations: 103.2 kB / 16.35 MB, free: 6.348 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.001961/0.001961, allocations: 193.5 kB / 17.29 MB, free: 5.93 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.44/1.44, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.813/1.813, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001659/0.001659, allocations: 79 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2639, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003309/0.2672, allocations: 1.472 MB / 0.7862 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2686, allocations: 0.7721 MB / 0.787 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.2687, allocations: 0 / 0.787 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.2687, allocations: 3.938 kB / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.066e-05/0.2688, allocations: 19.8 kB / 0.787 GB, free: 0.9141 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.0006997/0.2695, allocations: 123.6 kB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.2696, allocations: 83.7 kB / 0.7872 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2698, allocations: 8 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.159e-05/0.2699, allocations: 35.91 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.136e-05/0.2699, allocations: 35.89 kB / 0.7873 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.27, allocations: 4 kB / 0.7873 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.2702, allocations: 103.8 kB / 0.7874 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.2702, allocations: 19.97 kB / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.2703, allocations: 31.86 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.2705, allocations: 139.6 kB / 0.7875 GB, free: 348 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2705, allocations: 4 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2705, allocations: 0 / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.2705, allocations: 0 / 0.7875 GB, free: 344 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.3897/0.6602, allocations: 417 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.6603, allocations: 9.562 kB / 0.788 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.6604, allocations: 8.531 kB / 0.788 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.6604, allocations: 171.9 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.6605, allocations: 4.844 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.6605, allocations: 6.125 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.6607, allocations: 70.73 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6607, allocations: 0 / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.6608, allocations: 4.453 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.6608, allocations: 3.859 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.6609, allocations: 38.44 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.6615, allocations: 322.6 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.6616, allocations: 53.31 kB / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.6617, allocations: 36.05 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.6617, allocations: 0 / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.6619, allocations: 75.83 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.6619, allocations: 0 / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.00036/0.6623, allocations: 136.4 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.6623, allocations: 57.81 kB / 0.7889 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.6624, allocations: 124.5 kB / 0.789 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.6624, allocations: 28.84 kB / 0.789 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.6625, allocations: 88.58 kB / 0.7891 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.6625, allocations: 16.81 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.6625, allocations: 35.11 kB / 0.7892 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.6626, allocations: 324.8 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.6627, allocations: 28.31 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.048e-05/0.6628, allocations: 49.53 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.6629, allocations: 73.53 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6629, allocations: 0 / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000199/0.6631, allocations: 114.3 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.6631, allocations: 7.625 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.6631, allocations: 0.7812 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.6632, allocations: 4.406 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/0.6633, allocations: 16.83 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.6633, allocations: 0 / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.6634, allocations: 13.41 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.6634, allocations: 3.156 kB / 0.7898 GB, free: 47.57 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.382e-05/0.6634, allocations: 123.6 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.6635, allocations: 6.531 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.6635, allocations: 7.953 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.6635, allocations: 2.625 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6635, allocations: 1.719 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.6635, allocations: 0 / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.6639, allocations: 383.4 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6639, allocations: 1.625 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.6639, allocations: 10.59 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6639, allocations: 0 / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.6639, allocations: 3 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.664, allocations: 5.219 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.664, allocations: 0.875 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.6642, allocations: 212.2 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.6642, allocations: 90.98 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.6642, allocations: 1.125 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.6643, allocations: 3.25 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.6644, allocations: 10.36 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.6644, allocations: 3.891 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.6644, allocations: 97.36 kB / 0.7907 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6645, allocations: 0.625 kB / 0.7907 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003054/0.6648, allocations: 38.39 kB / 0.7907 GB, free: 46.83 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.0002971/0.6651, allocations: 166.7 kB / 0.7909 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.6653, allocations: 74.47 kB / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6653, allocations: 0 / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.115e-05/0.6654, allocations: 32.45 kB / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.6657, allocations: 12.91 kB / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.6661, allocations: 181 kB / 0.7912 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.6662, allocations: 0.6866 MB / 0.7919 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.69e-05/0.6663, allocations: 13.16 kB / 0.7919 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.6663, allocations: 16 kB / 0.7919 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6663, allocations: 0 / 0.7919 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.003883/0.6702, allocations: 1.449 MB / 0.7933 GB, free: 45.86 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)