Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 107 kB / 16.36 MB, free: 6 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.001549/0.001549, allocations: 192.9 kB / 17.3 MB, free: 5.617 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.37/1.37, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.785/1.785, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001417/0.001417, allocations: 71.89 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2335, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.00329/0.2369, allocations: 1.465 MB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.2383, allocations: 0.776 MB / 0.787 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.2384, allocations: 3.938 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.2384, allocations: 7.938 kB / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.2385, allocations: 11.86 kB / 0.787 GB, free: 0.9023 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.0006164/0.2392, allocations: 129.9 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.2393, allocations: 71.83 kB / 0.7872 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2394, allocations: 8 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.613e-05/0.2395, allocations: 43.77 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/0.2396, allocations: 35.91 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.2396, allocations: 8 kB / 0.7873 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.2398, allocations: 95.91 kB / 0.7874 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.2398, allocations: 15.92 kB / 0.7874 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.2399, allocations: 35.84 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.2401, allocations: 143.5 kB / 0.7876 GB, free: 336 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2401, allocations: 0 / 0.7876 GB, free: 336 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2401, allocations: 0 / 0.7876 GB, free: 336 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2402, allocations: 0 / 0.7876 GB, free: 336 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.3754/0.6155, allocations: 412.4 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.6156, allocations: 10.81 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.6156, allocations: 13.12 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.6157, allocations: 176.9 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.6158, allocations: 5.938 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.6158, allocations: 3.125 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.616, allocations: 67.88 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.616, allocations: 1.125 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.616, allocations: 3.938 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6161, allocations: 4.438 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.6162, allocations: 42.48 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.6167, allocations: 314 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.6169, allocations: 53.31 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.6169, allocations: 31.8 kB / 0.7886 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.617, allocations: 2.312 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.6172, allocations: 81.77 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.6172, allocations: 3.531 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003469/0.6175, allocations: 134.5 kB / 0.7889 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.6176, allocations: 57.41 kB / 0.7889 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.36e-05/0.6177, allocations: 119.5 kB / 0.789 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.6177, allocations: 35.98 kB / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.6177, allocations: 86.2 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.6177, allocations: 17.14 kB / 0.7892 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.6178, allocations: 27.27 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.344e-05/0.6178, allocations: 324.1 kB / 0.7895 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.609e-05/0.6179, allocations: 25.25 kB / 0.7895 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.876e-05/0.618, allocations: 50.2 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.6182, allocations: 76.28 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6182, allocations: 4.906 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000204/0.6184, allocations: 118.9 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.6184, allocations: 5.25 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.6184, allocations: 0 / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6184, allocations: 3.156 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.6185, allocations: 11.95 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.6185, allocations: 0.5 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.675e-05/0.6186, allocations: 10.98 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.6186, allocations: 3.125 kB / 0.7898 GB, free: 47.53 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.552e-05/0.6187, allocations: 129.4 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.6187, allocations: 6.531 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.6188, allocations: 7 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.6188, allocations: 0.75 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.6188, allocations: 0.7188 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6188, allocations: 3.828 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.6191, allocations: 386.9 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6191, allocations: 2.719 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.6192, allocations: 5.828 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.6192, allocations: 0.625 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.6192, allocations: 3.062 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6192, allocations: 2.969 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6192, allocations: 0 / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.6195, allocations: 219.8 kB / 0.7905 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.6195, allocations: 81.61 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.6195, allocations: 7.938 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.6196, allocations: 6.719 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.6197, allocations: 7.438 kB / 0.7906 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.6197, allocations: 9.203 kB / 0.7906 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.203e-05/0.6197, allocations: 96.02 kB / 0.7907 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6197, allocations: 2.219 kB / 0.7907 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003013/0.62, allocations: 31.06 kB / 0.7908 GB, free: 46.8 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.000279/0.6203, allocations: 161.7 kB / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.6205, allocations: 67.8 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6205, allocations: 1.5 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.6206, allocations: 33.33 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.6209, allocations: 14.92 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.6213, allocations: 189.9 kB / 0.7912 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.6214, allocations: 0.6848 MB / 0.7919 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.646e-05/0.6214, allocations: 8.203 kB / 0.7919 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.6215, allocations: 9.875 kB / 0.7919 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6215, allocations: 1.094 kB / 0.7919 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.003577/0.6251, allocations: 1.451 MB / 0.7933 GB, free: 45.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)