Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400") translateModel(Buildings.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.864/1.864, allocations: 292.3 MB / 308.1 MB, free: 4.316 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.001625/0.001625, allocations: 188.4 kB / 376.9 MB, free: 1.805 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.681/1.681, allocations: 205.1 MB / 0.6353 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 99.58 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 55.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3089, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.Validation.BESTEST.WD400): time 0.02322/0.3321, allocations: 18.28 MB / 1 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.8926/1.225, allocations: 159.7 MB / 1.156 GB, free: 4.402 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008239/1.233, allocations: 79.34 kB / 1.156 GB, free: 4.383 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004176/1.237, allocations: 0.5547 MB / 1.157 GB, free: 4.023 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.01059/1.248, allocations: 1.422 MB / 1.158 GB, free: 3.039 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01164/1.26, allocations: 3.55 MB / 1.162 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01665/1.276, allocations: 8.757 MB / 1.17 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01629/1.293, allocations: 8.306 MB / 1.178 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01035/1.303, allocations: 4.124 MB / 1.182 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01113/1.314, allocations: 5.011 MB / 1.187 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.006093/1.32, allocations: 0.8137 MB / 1.188 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007922/1.328, allocations: 1.204 MB / 1.189 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.006755/1.335, allocations: 2.323 MB / 1.191 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.01432/1.349, allocations: 5.068 MB / 1.196 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0298/1.379, allocations: 15.75 MB / 1.212 GB, free: 7.492 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/1.379, allocations: 4 kB / 1.212 GB, free: 7.488 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.675e-06/1.379, allocations: 1.125 kB / 1.212 GB, free: 7.488 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.001208/1.381, allocations: 0 / 1.212 GB, free: 7.488 MB / 0.7917 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.05612/1.437, allocations: 10.34 MB / 1.222 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 8.211e-05/1.437, allocations: 9.844 kB / 1.222 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05399/1.491, allocations: 6.927 MB / 1.229 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01873/1.51, allocations: 4.759 MB / 1.233 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002295/1.512, allocations: 0.8164 MB / 1.234 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007357/1.519, allocations: 1.047 MB / 1.235 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07122/1.591, allocations: 13.97 MB / 1.249 GB, free: 2.559 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009206/1.592, allocations: 4.781 kB / 1.249 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006734/1.598, allocations: 459.9 kB / 1.249 GB, free: 2.105 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003408/1.599, allocations: 272 kB / 1.249 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0632/1.662, allocations: 15.51 MB / 1.265 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.108/1.77, allocations: 33.08 MB / 1.297 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03917/1.809, allocations: 9.909 MB / 1.306 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02039/1.83, allocations: 4.978 MB / 1.311 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002337/1.832, allocations: 0.6759 MB / 1.312 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02368/1.856, allocations: 5.708 MB / 1.318 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=677): time 1.663e-05/1.856, allocations: 0 / 1.318 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=677): time 0.06837/1.924, allocations: 14.21 MB / 1.331 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002804/1.925, allocations: 364 kB / 1.332 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008932/1.934, allocations: 3.179 MB / 1.335 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.003067/1.937, allocations: 137.7 kB / 1.335 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004849/1.941, allocations: 3.634 MB / 1.339 GB, free: 5.824 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.005073/1.947, allocations: 2.198 MB / 1.341 GB, free: 3.594 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009126/1.956, allocations: 1.226 MB / 1.342 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.956, allocations: 301.1 kB / 1.342 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01665/1.973, allocations: 4.19 MB / 1.346 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01724/1.99, allocations: 4.73 MB / 1.351 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03584/2.026, allocations: 8.808 MB / 1.36 GB, free: 112 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.307e-05/2.026, allocations: 0 / 1.36 GB, free: 112 kB / 0.9167 GB Notification: Performance of matching and sorting (n=768) (initialization): time 0.04936/2.075, allocations: 10.25 MB / 1.37 GB, free: 5.773 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/2.075, allocations: 4.344 kB / 1.37 GB, free: 5.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/2.075, allocations: 23.92 kB / 1.37 GB, free: 5.746 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/2.077, allocations: 177.5 kB / 1.37 GB, free: 5.566 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01552/2.092, allocations: 1.915 MB / 1.372 GB, free: 3.648 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004926/2.097, allocations: 3.053 MB / 1.375 GB, free: 340 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6243/2.722, allocations: 1.017 MB / 1.376 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003183/2.725, allocations: 318.7 kB / 1.376 GB, free: 268.2 MB / 0.9323 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 (weaDatTDryBulTDewPoinOpa.conTim.canRepeatWeatherFile,weaDatTDryBulTDewPoinOpa.conTimMin.canRepeatWeatherFile,weaDatTDryBulTDewPoinOpa.conTim.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDatHHorIR.conTim.canRepeatWeatherFile,weaDatHHorIR.conTimMin.canRepeatWeatherFile,weaDatHHorIR.conTim.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTimMin.tNext,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.007753/2.733, allocations: 1.539 MB / 1.377 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002306/2.735, allocations: 0.4897 MB / 1.378 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0484/2.783, allocations: 11.87 MB / 1.389 GB, free: 267.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001639/2.784, allocations: 68.72 kB / 1.39 GB, free: 267.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.661e-05/2.784, allocations: 3.375 kB / 1.39 GB, free: 267.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003596/2.784, allocations: 35.88 kB / 1.39 GB, free: 267.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07874/2.863, allocations: 21.27 MB / 1.41 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.76e-05/2.863, allocations: 1.406 kB / 1.41 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01359/2.877, allocations: 1.766 MB / 1.412 GB, free: 258.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/2.878, allocations: 182.1 kB / 1.412 GB, free: 258.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00327/2.881, allocations: 221.6 kB / 1.412 GB, free: 258.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/2.885, allocations: 3.092 MB / 1.415 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/2.885, allocations: 2.625 kB / 1.415 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06583/2.951, allocations: 17.08 MB / 1.432 GB, free: 248.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008322/2.959, allocations: 1.727 MB / 1.434 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005436/2.965, allocations: 162.2 kB / 1.434 GB, free: 247.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01233/2.977, allocations: 0.6958 MB / 1.435 GB, free: 247.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002551/2.98, allocations: 410.9 kB / 1.435 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002752/2.982, allocations: 276.5 kB / 1.435 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.006326/2.989, allocations: 2.364 MB / 1.438 GB, free: 246.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.81e-07/2.989, allocations: 0 / 1.438 GB, free: 246.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01283/3.002, allocations: 2.305 MB / 1.44 GB, free: 245.4 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004896/3.006, allocations: 0.7525 MB / 1.441 GB, free: 245.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.03674/3.043, allocations: 10.18 MB / 1.451 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/3.043, allocations: 7.109 kB / 1.451 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01962/3.063, allocations: 5.489 MB / 1.456 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01201/3.075, allocations: 0.8574 MB / 1.457 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05787/3.133, allocations: 24.52 MB / 1.481 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009389/3.142, allocations: 4.104 MB / 1.485 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01896/3.161, allocations: 1.711 MB / 1.486 GB, free: 222.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008184/3.17, allocations: 0.6976 MB / 1.487 GB, free: 222.8 MB / 0.9323 GB Notification: Performance of SimCode: time 2.164e-06/3.17, allocations: 4 kB / 1.487 GB, free: 222.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.1705/3.34, allocations: 90.88 MB / 1.576 GB, free: 149.6 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.sim & ./Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)