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.001194/0.001194, allocations: 112.2 kB / 16.37 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.001211/0.001211, allocations: 191.9 kB / 17.31 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.427/1.427, 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.727/1.727, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001403/0.001404, allocations: 75.84 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2083, allocations: 114.5 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003057/0.2114, allocations: 1.483 MB / 0.7862 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.2128, allocations: 0.7722 MB / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.2129, allocations: 4 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.2129, allocations: 3.938 kB / 0.787 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.367e-05/0.213, allocations: 11.86 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.0006932/0.2137, allocations: 119.6 kB / 0.7871 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.2139, allocations: 91.69 kB / 0.7872 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.214, allocations: 8 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.165e-05/0.2141, allocations: 31.91 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.373e-05/0.2142, allocations: 43.83 kB / 0.7873 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.2142, allocations: 8 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.2144, allocations: 91.84 kB / 0.7874 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.2145, allocations: 15.98 kB / 0.7874 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.2145, allocations: 35.86 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.2148, allocations: 143.5 kB / 0.7876 GB, free: 344 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2148, allocations: 0 / 0.7876 GB, free: 344 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2148, allocations: 0 / 0.7876 GB, free: 344 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.2148, allocations: 0 / 0.7876 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.3419/0.5568, allocations: 419.5 kB / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5568, allocations: 7.719 kB / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.5569, allocations: 9.406 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.844e-05/0.557, allocations: 175.7 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.557, allocations: 3.406 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.5571, allocations: 8.594 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.5573, allocations: 69.33 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5573, allocations: 0 / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.5573, allocations: 8.594 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5573, allocations: 0 / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.5574, allocations: 37.03 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.558, allocations: 319.2 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.5581, allocations: 49.16 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/0.5582, allocations: 37.22 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.5582, allocations: 1.016 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.5584, allocations: 75.98 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.5584, allocations: 4.844 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003551/0.5588, allocations: 134.4 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.5588, allocations: 56.88 kB / 0.7889 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.423e-05/0.5589, allocations: 126.4 kB / 0.789 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.5589, allocations: 31.61 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.5589, allocations: 85.14 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.559, allocations: 20.28 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.559, allocations: 31.75 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.5591, allocations: 319.3 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.278e-05/0.5591, allocations: 31.91 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.621e-05/0.5592, allocations: 45.86 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.5594, allocations: 76.3 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5594, allocations: 0 / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001989/0.5596, allocations: 115.2 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5596, allocations: 8.25 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5596, allocations: 1.734 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5597, allocations: 2.625 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.5598, allocations: 13.56 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.5598, allocations: 2.625 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.5598, allocations: 6.078 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.5599, allocations: 6.125 kB / 0.7898 GB, free: 47.51 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.331e-05/0.5599, allocations: 124.5 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.5599, allocations: 6.531 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.56, allocations: 11.38 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.56, allocations: 0 / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.56, allocations: 2.625 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.56, allocations: 3.141 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.5604, allocations: 385.2 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5604, allocations: 0 / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.5604, allocations: 4.922 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.5604, allocations: 6.125 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.5604, allocations: 7.266 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5604, allocations: 0 / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5605, allocations: 1.75 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.5607, allocations: 215.8 kB / 0.7905 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.5607, allocations: 81.02 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.5607, allocations: 9.469 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.238e-05/0.5608, allocations: 5.859 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.5609, allocations: 10.72 kB / 0.7906 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.5609, allocations: 2.625 kB / 0.7906 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.5609, allocations: 95.55 kB / 0.7907 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5609, allocations: 0 / 0.7907 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003014/0.5612, allocations: 39.92 kB / 0.7908 GB, free: 46.78 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.0003199/0.5616, allocations: 154.7 kB / 0.7909 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.5618, allocations: 70.31 kB / 0.791 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5618, allocations: 2.625 kB / 0.791 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.5619, allocations: 39.3 kB / 0.791 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.5622, allocations: 10 kB / 0.791 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.5625, allocations: 211.6 kB / 0.7912 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.5627, allocations: 0.6901 MB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.5627, allocations: 16.09 kB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.5627, allocations: 0 / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.003116/0.5658, allocations: 1.62 MB / 0.7935 GB, free: 45.74 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)