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.00153/0.001531, allocations: 117.1 kB / 16.38 MB, free: 6.012 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.001498/0.001498, allocations: 192.7 kB / 17.31 MB, free: 5.613 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.451/1.451, 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.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001594/0.001594, allocations: 64.12 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2182, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003033/0.2212, allocations: 1.487 MB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.2227, allocations: 0.7722 MB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.2228, allocations: 0 / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.2228, allocations: 3.938 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.2229, allocations: 11.86 kB / 0.787 GB, free: 0.8906 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.0006469/0.2236, allocations: 131.5 kB / 0.7871 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.2237, allocations: 71.77 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2238, allocations: 16 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.861e-05/0.2239, allocations: 35.84 kB / 0.7873 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.224, allocations: 39.83 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.224, allocations: 8 kB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.2242, allocations: 99.84 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.2243, allocations: 11.98 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.2243, allocations: 35.78 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.2246, allocations: 143.6 kB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2246, allocations: 0 / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2246, allocations: 4 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.2246, allocations: 0 / 0.7876 GB, free: 312 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.3357/0.5603, allocations: 410.5 kB / 0.788 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5604, allocations: 12.05 kB / 0.788 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.5605, allocations: 8.406 kB / 0.788 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.617e-05/0.5606, allocations: 172.3 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.5606, allocations: 3.625 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.5606, allocations: 9.562 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.5608, allocations: 68.27 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.5608, allocations: 0 / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.5609, allocations: 9.625 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5609, allocations: 3.969 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.561, allocations: 38.64 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.5615, allocations: 315.9 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.5617, allocations: 52.64 kB / 0.7886 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.732e-05/0.5618, allocations: 37.06 kB / 0.7887 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.5618, allocations: 0 / 0.7887 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.562, allocations: 80.08 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.562, allocations: 0 / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003939/0.5624, allocations: 135.4 kB / 0.7889 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.5624, allocations: 54.09 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/0.5625, allocations: 127.9 kB / 0.789 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.5625, allocations: 30.77 kB / 0.7891 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.5626, allocations: 89.56 kB / 0.7892 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.5626, allocations: 15.44 kB / 0.7892 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.5626, allocations: 29.45 kB / 0.7892 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.5627, allocations: 323.3 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.5628, allocations: 25.91 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.998e-05/0.5629, allocations: 51.19 kB / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.563, allocations: 78.16 kB / 0.7897 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.563, allocations: 0 / 0.7897 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000215/0.5632, allocations: 112.8 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5633, allocations: 3.719 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5633, allocations: 2.625 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5633, allocations: 0 / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.423e-05/0.5634, allocations: 12.95 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5634, allocations: 7.188 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.5635, allocations: 10.36 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.5635, allocations: 5.25 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.345e-05/0.5636, allocations: 118.1 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.5636, allocations: 9.156 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.5636, allocations: 15.08 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5636, allocations: 3.797 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5637, allocations: 0 / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5637, allocations: 0.5469 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.564, allocations: 384.3 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.564, allocations: 0.5 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.5641, allocations: 7.688 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5641, allocations: 3.281 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.5641, allocations: 3.516 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5641, allocations: 0 / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5641, allocations: 0.6562 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.5644, allocations: 223.9 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.5644, allocations: 83.64 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.5644, allocations: 2.625 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.5645, allocations: 8.516 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.5646, allocations: 10.59 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.5646, allocations: 3.5 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.412e-05/0.5646, allocations: 94.84 kB / 0.7907 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5646, allocations: 0 / 0.7907 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003027/0.5649, allocations: 35.31 kB / 0.7908 GB, free: 46.84 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.0003058/0.5652, allocations: 158.6 kB / 0.7909 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.5655, allocations: 72 kB / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5655, allocations: 0.8125 kB / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.5656, allocations: 37.67 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.0002489/0.5658, allocations: 9.516 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.0004008/0.5662, allocations: 215.4 kB / 0.7912 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.5664, allocations: 0.6874 MB / 0.7919 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.5664, allocations: 14.62 kB / 0.7919 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.5664, allocations: 3.562 kB / 0.7919 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.003237/0.5697, allocations: 1.619 MB / 0.7935 GB, free: 45.8 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)