Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.009432/0.009432, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.496/1.496, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.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.744/1.744, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005634/0.0005633, allocations: 16.19 kB / 0.6743 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2759, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005362/0.2813, allocations: 3.644 MB / 0.7914 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6929/0.9743, allocations: 146.3 MB / 0.9343 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.975, allocations: 14.44 kB / 0.9343 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.9755, allocations: 125.7 kB / 0.9344 GB, free: 1.477 MB / 0.7169 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.001105/0.9766, allocations: 350.4 kB / 0.9347 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.9781, allocations: 0.5919 MB / 0.9353 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001096/0.9792, allocations: 0.9878 MB / 0.9363 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007008/0.9799, allocations: 477.5 kB / 0.9367 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003673/0.9803, allocations: 247.8 kB / 0.937 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.9807, allocations: 281.1 kB / 0.9372 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.947e-05/0.9807, allocations: 22.75 kB / 0.9372 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.9812, allocations: 223.5 kB / 0.9375 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.9814, allocations: 148.5 kB / 0.9376 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.9817, allocations: 363.8 kB / 0.9379 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009954/0.9827, allocations: 1.095 MB / 0.939 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.9827, allocations: 0 / 0.939 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9827, allocations: 0 / 0.939 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.9827, allocations: 2.25 kB / 0.939 GB, free: 0.957 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001614/0.9844, allocations: 0.9771 MB / 0.94 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.9844, allocations: 9.125 kB / 0.94 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.9847, allocations: 99.55 kB / 0.9401 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008584/0.9856, allocations: 0.6625 MB / 0.9407 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.9856, allocations: 46.62 kB / 0.9408 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/0.9857, allocations: 60.84 kB / 0.9408 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.9869, allocations: 0.6957 MB / 0.9415 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.9869, allocations: 4.531 kB / 0.9415 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/0.987, allocations: 29.25 kB / 0.9415 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.987, allocations: 15.09 kB / 0.9416 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.9885, allocations: 0.9136 MB / 0.9424 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/0.9918, allocations: 2.336 MB / 0.9447 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009363/0.9928, allocations: 0.597 MB / 0.9453 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.9931, allocations: 219.2 kB / 0.9455 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.436e-05/0.9933, allocations: 34.06 kB / 0.9456 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007168/0.994, allocations: 350.7 kB / 0.9459 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=61): time 4.879e-06/0.994, allocations: 3.984 kB / 0.9459 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=61): time 0.0016/0.9956, allocations: 0.7063 MB / 0.9466 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.9957, allocations: 239.5 kB / 0.9468 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008759/0.9966, allocations: 0.587 MB / 0.9474 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.9967, allocations: 39.8 kB / 0.9474 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.997, allocations: 316.4 kB / 0.9477 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.9971, allocations: 209.9 kB / 0.9479 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.9972, allocations: 55.08 kB / 0.948 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.9974, allocations: 377.2 kB / 0.9483 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.9977, allocations: 185.9 kB / 0.9485 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.9981, allocations: 295.1 kB / 0.9488 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/0.9988, allocations: 478.4 kB / 0.9492 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9988, allocations: 5.797 kB / 0.9493 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009534/0.9998, allocations: 0.599 MB / 0.9498 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.9998, allocations: 6.25 kB / 0.9498 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.9998, allocations: 1.406 kB / 0.9498 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.9999, allocations: 3.594 kB / 0.9498 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/1, allocations: 134.2 kB / 0.95 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1, allocations: 6.531 kB / 0.95 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/1.001, allocations: 83.88 kB / 0.9501 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/1.001, allocations: 27.75 kB / 0.9501 GB, free: 13.07 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.0003708/1.001, allocations: 246.7 kB / 0.9503 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.002, allocations: 73.75 kB / 0.9504 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/1.003, allocations: 0.7488 MB / 0.9511 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/1.003, allocations: 7.406 kB / 0.9511 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/1.003, allocations: 1.094 kB / 0.9511 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/1.003, allocations: 7.578 kB / 0.9511 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/1.005, allocations: 0.8841 MB / 0.952 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.005, allocations: 2.859 kB / 0.952 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/1.005, allocations: 121.3 kB / 0.9521 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/1.005, allocations: 2.375 kB / 0.9521 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/1.005, allocations: 20.58 kB / 0.9521 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/1.005, allocations: 3.125 kB / 0.9521 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.005, allocations: 3.484 kB / 0.9522 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/1.007, allocations: 0.6384 MB / 0.9528 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/1.007, allocations: 250.3 kB / 0.953 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.007, allocations: 15.75 kB / 0.953 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/1.008, allocations: 54.36 kB / 0.9531 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.008, allocations: 51.61 kB / 0.9531 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/1.008, allocations: 28.59 kB / 0.9532 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006067/1.009, allocations: 418.9 kB / 0.9536 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.009, allocations: 0 / 0.9536 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008047/1.009, allocations: 227.4 kB / 0.9538 GB, free: 12.05 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001429/1.011, allocations: 0.5618 MB / 0.9543 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009092/1.012, allocations: 0.4962 MB / 0.9548 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.012, allocations: 5.094 kB / 0.9548 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/1.012, allocations: 280.3 kB / 0.9551 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/1.013, allocations: 236.8 kB / 0.9553 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/1.016, allocations: 1.633 MB / 0.9569 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/1.016, allocations: 0.9495 MB / 0.9578 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007412/1.017, allocations: 238.8 kB / 0.9581 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/1.017, allocations: 88.38 kB / 0.9581 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/1.017, allocations: 0 / 0.9581 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.02302/1.04, allocations: 10.51 MB / 0.9684 GB, free: 5.949 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) Environment - environmentSimulation: