Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.Validation.BESTEST.WD500,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500") translateModel(Buildings.BoundaryConditions.Validation.BESTEST.WD500,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.66/1.66, allocations: 288.4 MB / 303.6 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 174.9 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.4 MB / 0.631 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008257/0.0008258, allocations: 105.2 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004157, allocations: 11.47 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2483, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.Validation.BESTEST.WD500): time 0.01336/0.2617, allocations: 16.11 MB / 0.9958 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7693/1.031, allocations: 147.8 MB / 1.14 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00527/1.036, allocations: 79 kB / 1.14 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003781/1.04, allocations: 0.5304 MB / 1.141 GB, free: 15.48 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.009181/1.049, allocations: 1.32 MB / 1.142 GB, free: 14.74 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009738/1.059, allocations: 2.486 MB / 1.144 GB, free: 14.13 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0158/1.075, allocations: 8.183 MB / 1.152 GB, free: 10.3 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01385/1.089, allocations: 8.061 MB / 1.16 GB, free: 5.512 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006962/1.096, allocations: 2.67 MB / 1.163 GB, free: 4.008 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006958/1.103, allocations: 3.183 MB / 1.166 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002386/1.105, allocations: 206.1 kB / 1.166 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003937/1.109, allocations: 0.5715 MB / 1.167 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001726/1.111, allocations: 1.341 MB / 1.168 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.006102/1.117, allocations: 3.677 MB / 1.172 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01575/1.133, allocations: 12.68 MB / 1.184 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.133, allocations: 0 / 1.184 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.707e-06/1.133, allocations: 0 / 1.184 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000862/1.134, allocations: 0 / 1.184 GB, free: 3.855 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.02325/1.157, allocations: 7.94 MB / 1.192 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.157, allocations: 8.719 kB / 1.192 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04954/1.207, allocations: 7.521 MB / 1.199 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/1.219, allocations: 4.761 MB / 1.204 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006894/1.22, allocations: 0.8147 MB / 1.205 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004291/1.224, allocations: 1.047 MB / 1.206 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0502/1.275, allocations: 14.12 MB / 1.219 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002973/1.275, allocations: 7.938 kB / 1.219 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004952/1.28, allocations: 448 kB / 1.22 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003383/1.28, allocations: 268 kB / 1.22 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05655/1.337, allocations: 15.9 MB / 1.236 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08787/1.425, allocations: 33.17 MB / 1.268 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03353/1.458, allocations: 9.911 MB / 1.278 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01728/1.476, allocations: 4.986 MB / 1.283 GB, free: 3.238 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001888/1.478, allocations: 0.6788 MB / 1.283 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02033/1.498, allocations: 5.716 MB / 1.289 GB, free: 12.68 MB / 0.823 GB Notification: Performance of pre-optimization done (n=677): time 1.718e-05/1.498, allocations: 0 / 1.289 GB, free: 12.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=677): time 0.05814/1.556, allocations: 14.28 MB / 1.303 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002177/1.557, allocations: 356.1 kB / 1.303 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007658/1.564, allocations: 3.14 MB / 1.306 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.002811/1.567, allocations: 137.7 kB / 1.306 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.004179/1.571, allocations: 3.642 MB / 1.31 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.004786/1.576, allocations: 2.198 MB / 1.312 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002275/1.578, allocations: 120 kB / 1.312 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005768/1.579, allocations: 0.5266 MB / 1.313 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01629/1.595, allocations: 4.193 MB / 1.317 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01896/1.614, allocations: 4.753 MB / 1.321 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03176/1.646, allocations: 8.839 MB / 1.33 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-05/1.646, allocations: 0 / 1.33 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of matching and sorting (n=768) (initialization): time 0.03997/1.686, allocations: 10.27 MB / 1.34 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/1.686, allocations: 12.03 kB / 1.34 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/1.686, allocations: 4 kB / 1.34 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/1.688, allocations: 193.4 kB / 1.34 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.014/1.702, allocations: 1.923 MB / 1.342 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/1.706, allocations: 3.058 MB / 1.345 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/1.718, allocations: 1.046 MB / 1.346 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002857/1.721, allocations: 323.6 kB / 1.346 GB, free: 0.8359 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$whenCondition1,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.canRepeatWeatherFile,weaDatTDryBulTDewPoinOpa.conTim.canRepeatWeatherFile,$whenCondition4,$whenCondition3,$PRE.weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.canRepeatWeatherFile,weaDatHHorIR.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (764): * Single equations (assignments): 762 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008271/1.729, allocations: 1.534 MB / 1.348 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003063/1.732, allocations: 0.4976 MB / 1.348 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0506/1.783, allocations: 11.92 MB / 1.36 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001146/1.783, allocations: 68 kB / 1.36 GB, free: 2.695 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-05/1.783, allocations: 7.938 kB / 1.36 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002682/1.783, allocations: 31.88 kB / 1.36 GB, free: 2.656 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06678/1.85, allocations: 21.3 MB / 1.381 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.725e-05/1.85, allocations: 4 kB / 1.381 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0135/1.864, allocations: 1.783 MB / 1.383 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/1.865, allocations: 181.5 kB / 1.383 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002779/1.868, allocations: 227.7 kB / 1.383 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/1.872, allocations: 3.095 MB / 1.386 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.872, allocations: 4.031 kB / 1.386 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04374/1.916, allocations: 10.12 MB / 1.396 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006797/1.923, allocations: 1.862 MB / 1.398 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00357/1.926, allocations: 120.1 kB / 1.398 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01109/1.937, allocations: 0.7336 MB / 1.399 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002134/1.939, allocations: 413 kB / 1.399 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002374/1.942, allocations: 267.7 kB / 1.399 GB, free: 9.941 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.006436/1.948, allocations: 2.338 MB / 1.402 GB, free: 7.598 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.92e-07/1.948, allocations: 0 / 1.402 GB, free: 7.598 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01127/1.96, allocations: 2.301 MB / 1.404 GB, free: 5.285 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 4 (weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (718): * Single equations (assignments): 712 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003861/1.964, allocations: 0.7512 MB / 1.405 GB, free: 4.676 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.03725/2.001, allocations: 10.21 MB / 1.415 GB, free: 10.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/2.001, allocations: 7.859 kB / 1.415 GB, free: 10.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01969/2.021, allocations: 5.51 MB / 1.42 GB, free: 4.848 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009226/2.03, allocations: 0.8432 MB / 1.421 GB, free: 4.008 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4636/2.493, allocations: 20.32 MB / 1.441 GB, free: 317 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006981/2.5, allocations: 3.899 MB / 1.444 GB, free: 316.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0156/2.516, allocations: 1.699 MB / 1.446 GB, free: 315.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004777/2.521, allocations: 0.6989 MB / 1.447 GB, free: 315.6 MB / 0.948 GB Notification: Performance of SimCode: time 9.02e-07/2.521, allocations: 1.5 kB / 1.447 GB, free: 315.6 MB / 0.948 GB Notification: Performance of Templates: time 0.1483/2.669, allocations: 84.98 MB / 1.53 GB, free: 265.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)