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.936/1.936, allocations: 288.4 MB / 303.4 MB, free: 8.18 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.00152/0.001521, allocations: 173.6 kB / 372 MB, free: 10.22 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.863/1.863, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.0009559/0.0009555, allocations: 90.36 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004376, allocations: 14.66 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2715, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.Validation.BESTEST.WD500): time 0.01449/0.2861, allocations: 16.1 MB / 0.9953 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7789/1.065, allocations: 147.8 MB / 1.14 GB, free: 15.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006152/1.071, allocations: 72.81 kB / 1.14 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002522/1.074, allocations: 0.5354 MB / 1.14 GB, free: 15.49 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.007593/1.081, allocations: 1.316 MB / 1.141 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008164/1.09, allocations: 2.474 MB / 1.144 GB, free: 14.2 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01872/1.108, allocations: 8.124 MB / 1.152 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01721/1.126, allocations: 6.872 MB / 1.159 GB, free: 6.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008167/1.134, allocations: 2.664 MB / 1.161 GB, free: 5.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007137/1.141, allocations: 3.183 MB / 1.164 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002765/1.144, allocations: 204.4 kB / 1.164 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004819/1.149, allocations: 0.5714 MB / 1.165 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0036/1.152, allocations: 1.332 MB / 1.166 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003872/1.156, allocations: 1.676 MB / 1.168 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01615/1.172, allocations: 12.68 MB / 1.18 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/1.172, allocations: 7.188 kB / 1.18 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.445e-06/1.172, allocations: 0 / 1.18 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001067/1.173, allocations: 3.938 kB / 1.18 GB, free: 6.617 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.02773/1.201, allocations: 8.04 MB / 1.188 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.201, allocations: 13 kB / 1.188 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04967/1.251, allocations: 7.52 MB / 1.196 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/1.268, allocations: 4.643 MB / 1.2 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000765/1.269, allocations: 0.807 MB / 1.201 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00374/1.273, allocations: 1.055 MB / 1.202 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05021/1.323, allocations: 14.11 MB / 1.216 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001922/1.323, allocations: 7.984 kB / 1.216 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003017/1.326, allocations: 452 kB / 1.216 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002391/1.326, allocations: 268 kB / 1.216 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05118/1.378, allocations: 15.89 MB / 1.232 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0804/1.458, allocations: 33.15 MB / 1.264 GB, free: 5.867 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03203/1.49, allocations: 9.902 MB / 1.274 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01649/1.507, allocations: 4.99 MB / 1.279 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/1.509, allocations: 0.6788 MB / 1.279 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02004/1.529, allocations: 5.712 MB / 1.285 GB, free: 364 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=677): time 1.456e-05/1.529, allocations: 0 / 1.285 GB, free: 364 kB / 0.8073 GB Notification: Performance of matching and sorting (n=677): time 0.05607/1.585, allocations: 14.28 MB / 1.299 GB, free: 1.949 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002242/1.585, allocations: 356.1 kB / 1.299 GB, free: 1.531 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006488/1.592, allocations: 3.14 MB / 1.302 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.002344/1.594, allocations: 137.7 kB / 1.303 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.003735/1.598, allocations: 3.638 MB / 1.306 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.004463/1.602, allocations: 2.206 MB / 1.308 GB, free: 8.352 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002356/1.604, allocations: 120 kB / 1.308 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005843/1.605, allocations: 0.5188 MB / 1.309 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01537/1.62, allocations: 4.201 MB / 1.313 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01838/1.639, allocations: 4.752 MB / 1.318 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01954/1.658, allocations: 4.374 MB / 1.322 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.145e-05/1.659, allocations: 4 kB / 1.322 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=768) (initialization): time 0.04331/1.702, allocations: 10.28 MB / 1.332 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/1.702, allocations: 7.938 kB / 1.332 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/1.702, allocations: 8 kB / 1.332 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/1.703, allocations: 193.8 kB / 1.332 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01449/1.718, allocations: 1.923 MB / 1.334 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/1.722, allocations: 3.048 MB / 1.337 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01211/1.734, allocations: 1.054 MB / 1.338 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003168/1.737, allocations: 327.6 kB / 1.338 GB, free: 9.062 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.009377/1.747, allocations: 1.536 MB / 1.34 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003794/1.751, allocations: 0.4939 MB / 1.34 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0514/1.802, allocations: 11.98 MB / 1.352 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000116/1.802, allocations: 68 kB / 1.352 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.694e-05/1.802, allocations: 0 / 1.352 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002533/1.802, allocations: 35.86 kB / 1.352 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07004/1.873, allocations: 21.3 MB / 1.373 GB, free: 5.309 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.675e-05/1.873, allocations: 0 / 1.373 GB, free: 5.309 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.013/1.886, allocations: 1.786 MB / 1.375 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/1.887, allocations: 185.5 kB / 1.375 GB, free: 3.332 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00244/1.889, allocations: 219.7 kB / 1.375 GB, free: 3.117 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/1.893, allocations: 3.099 MB / 1.378 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.893, allocations: 0 / 1.378 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04259/1.936, allocations: 10.12 MB / 1.388 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006684/1.943, allocations: 1.855 MB / 1.39 GB, free: 3.645 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003418/1.946, allocations: 120 kB / 1.39 GB, free: 3.527 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01079/1.957, allocations: 0.7297 MB / 1.391 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002112/1.959, allocations: 413.1 kB / 1.391 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002271/1.961, allocations: 279.7 kB / 1.391 GB, free: 2.117 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.006374/1.968, allocations: 2.334 MB / 1.394 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.41e-07/1.968, allocations: 4 kB / 1.394 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01318/1.981, allocations: 2.305 MB / 1.396 GB, free: 13.46 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.004617/1.986, allocations: 0.7332 MB / 1.396 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.03792/2.023, allocations: 10.21 MB / 1.406 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/2.024, allocations: 7.938 kB / 1.406 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01966/2.043, allocations: 5.511 MB / 1.412 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01071/2.054, allocations: 0.8436 MB / 1.413 GB, free: 12.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5458/2.6, allocations: 20.31 MB / 1.432 GB, free: 320.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007386/2.607, allocations: 3.899 MB / 1.436 GB, free: 319.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01839/2.626, allocations: 1.705 MB / 1.438 GB, free: 319.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006431/2.632, allocations: 0.695 MB / 1.439 GB, free: 319.4 MB / 0.948 GB Notification: Performance of SimCode: time 4.719e-06/2.632, allocations: 1.125 kB / 1.439 GB, free: 319.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1544/2.787, allocations: 84.72 MB / 1.521 GB, free: 271.8 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)