Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400") translateModel(Buildings.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.624/2.624, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001432/0.001432, allocations: 186.1 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001062/0.001061, allocations: 93.42 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.000496, allocations: 11.83 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2299, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.Validation.BESTEST.WD400): time 0.02349/0.2535, allocations: 16.11 MB / 0.9941 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9162/1.17, allocations: 147.8 MB / 1.138 GB, free: 15.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005878/1.176, allocations: 76.75 kB / 1.138 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003572/1.179, allocations: 0.5341 MB / 1.139 GB, free: 15.17 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.008992/1.188, allocations: 1.313 MB / 1.14 GB, free: 14.45 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01112/1.2, allocations: 2.478 MB / 1.143 GB, free: 14.08 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01638/1.216, allocations: 8.118 MB / 1.151 GB, free: 11.56 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01855/1.235, allocations: 6.878 MB / 1.157 GB, free: 7.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008013/1.243, allocations: 2.659 MB / 1.16 GB, free: 6.094 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009312/1.252, allocations: 3.18 MB / 1.163 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.003428/1.255, allocations: 203.5 kB / 1.163 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005988/1.262, allocations: 0.5682 MB / 1.164 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.004121/1.266, allocations: 1.334 MB / 1.165 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004235/1.27, allocations: 1.673 MB / 1.167 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02124/1.291, allocations: 12.68 MB / 1.179 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/1.291, allocations: 0 / 1.179 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.787e-06/1.291, allocations: 0 / 1.179 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0007805/1.292, allocations: 0 / 1.179 GB, free: 7.562 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.03313/1.325, allocations: 8.048 MB / 1.187 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.325, allocations: 11.52 kB / 1.187 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09116/1.417, allocations: 7.522 MB / 1.194 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/1.432, allocations: 4.635 MB / 1.199 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001154/1.433, allocations: 0.8108 MB / 1.2 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004972/1.438, allocations: 1.051 MB / 1.201 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07076/1.509, allocations: 14.12 MB / 1.214 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003723/1.509, allocations: 7.938 kB / 1.214 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004339/1.513, allocations: 452 kB / 1.215 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000364/1.514, allocations: 268 kB / 1.215 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08986/1.604, allocations: 15.89 MB / 1.231 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1194/1.723, allocations: 33.15 MB / 1.263 GB, free: 7.031 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05975/1.783, allocations: 9.911 MB / 1.273 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02801/1.811, allocations: 4.986 MB / 1.278 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00261/1.814, allocations: 0.6745 MB / 1.278 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03201/1.846, allocations: 5.722 MB / 1.284 GB, free: 1.512 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=677): time 1.673e-05/1.846, allocations: 0 / 1.284 GB, free: 1.512 MB / 0.8073 GB Notification: Performance of matching and sorting (n=677): time 0.09429/1.94, allocations: 14.28 MB / 1.298 GB, free: 3.105 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002817/1.94, allocations: 356.1 kB / 1.298 GB, free: 2.688 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008804/1.949, allocations: 3.14 MB / 1.301 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.002472/1.952, allocations: 137.7 kB / 1.301 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.005168/1.957, allocations: 3.638 MB / 1.305 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.005225/1.962, allocations: 2.198 MB / 1.307 GB, free: 9.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002515/1.965, allocations: 120 kB / 1.307 GB, free: 9.402 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0007377/1.966, allocations: 0.5227 MB / 1.308 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02711/1.993, allocations: 4.197 MB / 1.312 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02891/2.022, allocations: 4.757 MB / 1.316 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02858/2.05, allocations: 4.374 MB / 1.321 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.152e-05/2.05, allocations: 0 / 1.321 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of matching and sorting (n=768) (initialization): time 0.06727/2.118, allocations: 10.27 MB / 1.331 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/2.118, allocations: 8.344 kB / 1.331 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/2.118, allocations: 8 kB / 1.331 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/2.12, allocations: 189.5 kB / 1.331 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02498/2.145, allocations: 1.931 MB / 1.333 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006334/2.151, allocations: 3.05 MB / 1.336 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01845/2.17, allocations: 1.045 MB / 1.337 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002847/2.173, allocations: 323.6 kB / 1.337 GB, free: 10.23 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.009448/2.182, allocations: 1.546 MB / 1.339 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00375/2.186, allocations: 0.4899 MB / 1.339 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07717/2.263, allocations: 11.97 MB / 1.351 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/2.263, allocations: 68 kB / 1.351 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.43e-05/2.263, allocations: 3.984 kB / 1.351 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000224/2.264, allocations: 39.88 kB / 1.351 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09536/2.359, allocations: 21.3 MB / 1.372 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-05/2.359, allocations: 0 / 1.372 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02346/2.383, allocations: 1.783 MB / 1.373 GB, free: 4.695 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/2.385, allocations: 185.5 kB / 1.374 GB, free: 4.508 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00242/2.387, allocations: 223.6 kB / 1.374 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005946/2.393, allocations: 3.099 MB / 1.377 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/2.393, allocations: 4.031 kB / 1.377 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06433/2.457, allocations: 10.1 MB / 1.387 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007188/2.465, allocations: 1.862 MB / 1.389 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003564/2.468, allocations: 116 kB / 1.389 GB, free: 4.711 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0176/2.486, allocations: 0.7336 MB / 1.389 GB, free: 3.977 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002237/2.488, allocations: 417 kB / 1.39 GB, free: 3.562 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002562/2.491, allocations: 267.7 kB / 1.39 GB, free: 3.301 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.007371/2.498, allocations: 2.338 MB / 1.392 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.21e-07/2.498, allocations: 0 / 1.392 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01197/2.51, allocations: 2.305 MB / 1.395 GB, free: 14.64 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.004517/2.515, allocations: 0.7431 MB / 1.395 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.05904/2.574, allocations: 10.21 MB / 1.405 GB, free: 3.789 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/2.574, allocations: 4 kB / 1.405 GB, free: 3.785 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.03088/2.605, allocations: 5.506 MB / 1.411 GB, free: 14.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01129/2.616, allocations: 0.8422 MB / 1.411 GB, free: 13.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7032/3.32, allocations: 20.32 MB / 1.431 GB, free: 319.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01177/3.331, allocations: 3.897 MB / 1.435 GB, free: 318.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02308/3.355, allocations: 1.705 MB / 1.437 GB, free: 318.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009195/3.364, allocations: 0.7018 MB / 1.437 GB, free: 318.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/3.364, allocations: 0 / 1.437 GB, free: 318.7 MB / 0.948 GB Notification: Performance of Templates: time 0.2322/3.596, allocations: 84.73 MB / 1.52 GB, free: 271.6 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)