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.001078/0.001078, allocations: 107 kB / 16.36 MB, free: 6.262 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.001141/0.001141, allocations: 193.4 kB / 17.3 MB, free: 5.848 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.289/1.289, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.746/1.746, 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.002712/0.002712, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2281, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002458/0.2306, allocations: 1.484 MB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2317, allocations: 0.7682 MB / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.2318, allocations: 0 / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.2318, allocations: 7.922 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.2319, allocations: 15.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.0005158/0.2324, allocations: 127.5 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2325, allocations: 71.78 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.2326, allocations: 15.98 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.009e-05/0.2327, allocations: 39.84 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.395e-05/0.2328, allocations: 35.89 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2328, allocations: 4 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.233, allocations: 103.8 kB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.233, allocations: 19.97 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.2331, allocations: 27.86 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.2333, allocations: 135.6 kB / 0.7876 GB, free: 328 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2333, allocations: 4 kB / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2333, allocations: 0 / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2333, allocations: 4 kB / 0.7876 GB, free: 320 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.3315/0.5648, allocations: 414.4 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5648, allocations: 7.562 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.5649, allocations: 8.594 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.565, allocations: 177.3 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.565, allocations: 5.438 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.565, allocations: 4.75 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.5652, allocations: 67.44 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5652, allocations: 0 / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5653, allocations: 8.406 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5653, allocations: 0 / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.5654, allocations: 45.06 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.5659, allocations: 314.3 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.566, allocations: 54.91 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.253e-05/0.5661, allocations: 30.8 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.5661, allocations: 2.906 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.5663, allocations: 77.69 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.5663, allocations: 3.062 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003432/0.5667, allocations: 138 kB / 0.7889 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.5667, allocations: 57.38 kB / 0.7889 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/0.5668, allocations: 127.3 kB / 0.789 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.5668, allocations: 25.7 kB / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.5668, allocations: 92.39 kB / 0.7892 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.5669, allocations: 14.05 kB / 0.7892 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.5669, allocations: 30.61 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.888e-05/0.5669, allocations: 318.2 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.467e-05/0.567, allocations: 24.7 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.671e-05/0.5671, allocations: 50.67 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.5672, allocations: 82.22 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5673, allocations: 0 / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002/0.5675, allocations: 113.6 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.5675, allocations: 7 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.5675, allocations: 0 / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5675, allocations: 7.172 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.5676, allocations: 12.91 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5676, allocations: 7.703 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.5677, allocations: 6.391 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.5677, allocations: 11.5 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 5.744e-05/0.5678, allocations: 120.5 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.5678, allocations: 6.625 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.5678, allocations: 10.88 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5678, allocations: 0.5 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5678, allocations: 0 / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.5679, allocations: 88.67 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.5679, allocations: 8.875 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.5679, allocations: 3.156 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.568, allocations: 12.61 kB / 0.79 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000238/0.5682, allocations: 193.2 kB / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000222/0.5685, allocations: 280.3 kB / 0.7905 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.747e-05/0.5686, allocations: 35.86 kB / 0.7905 GB, free: 47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.5686, allocations: 90.28 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of Backend: time 3.41e-07/0.5686, allocations: 3.625 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005979/0.5692, allocations: 180 kB / 0.7908 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003066/0.5695, allocations: 0.6094 MB / 0.7914 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.003464/0.573, allocations: 1.504 MB / 0.7929 GB, free: 46.21 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)