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.001051/0.001051, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001138/0.001138, allocations: 193.7 kB / 16.13 MB, free: 6.672 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.389/1.389, allocations: 205.1 MB / 222 MB, free: 4.738 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.703/1.703, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001372/0.001372, allocations: 68.52 kB / 0.6708 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2595, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006203/0.2657, allocations: 4.047 MB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.589/0.8548, allocations: 147.9 MB / 0.931 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007151/0.8556, allocations: 17.34 kB / 0.931 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005348/0.8561, allocations: 120.2 kB / 0.9311 GB, free: 5.375 MB / 0.7325 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.001265/0.8574, allocations: 346.4 kB / 0.9315 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.8588, allocations: 0.5944 MB / 0.932 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.86, allocations: 0.9891 MB / 0.933 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.8607, allocations: 487.9 kB / 0.9335 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004004/0.8611, allocations: 298.5 kB / 0.9338 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.8615, allocations: 339.2 kB / 0.9341 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9e-05/0.8616, allocations: 36.31 kB / 0.9341 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.8621, allocations: 248.5 kB / 0.9344 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.8623, allocations: 180.4 kB / 0.9345 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.8627, allocations: 381 kB / 0.9349 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.8639, allocations: 1.124 MB / 0.936 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8639, allocations: 0 / 0.936 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8639, allocations: 0 / 0.936 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.8639, allocations: 0 / 0.936 GB, free: 5.188 MB / 0.7325 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.002/0.8659, allocations: 1.149 MB / 0.9371 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.8659, allocations: 13.28 kB / 0.9371 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.8662, allocations: 98.23 kB / 0.9372 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/0.867, allocations: 0.656 MB / 0.9379 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.8671, allocations: 46.69 kB / 0.9379 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.8671, allocations: 57.94 kB / 0.938 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/0.8681, allocations: 0.7 MB / 0.9386 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.8681, allocations: 0 / 0.9386 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.8682, allocations: 31.03 kB / 0.9387 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.8682, allocations: 16.5 kB / 0.9387 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.8694, allocations: 0.9153 MB / 0.9396 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.8722, allocations: 2.312 MB / 0.9418 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.8729, allocations: 0.5927 MB / 0.9424 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.8732, allocations: 227.8 kB / 0.9426 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.998e-05/0.8733, allocations: 34.02 kB / 0.9427 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005567/0.8739, allocations: 346.9 kB / 0.943 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=61): time 2.695e-06/0.8739, allocations: 0 / 0.943 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=61): time 0.001086/0.875, allocations: 0.7062 MB / 0.9437 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.8751, allocations: 245.5 kB / 0.9439 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.8757, allocations: 0.5756 MB / 0.9445 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.8757, allocations: 40.17 kB / 0.9445 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.8759, allocations: 327 kB / 0.9448 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.876, allocations: 200.3 kB / 0.945 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.8762, allocations: 142 kB / 0.9452 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.8764, allocations: 375.2 kB / 0.9455 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.8767, allocations: 189.2 kB / 0.9457 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.877, allocations: 292 kB / 0.946 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/0.8777, allocations: 478.5 kB / 0.9464 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.8777, allocations: 2.375 kB / 0.9464 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009866/0.8787, allocations: 0.604 MB / 0.947 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.8787, allocations: 5.938 kB / 0.947 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.8788, allocations: 2.156 kB / 0.947 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.8788, allocations: 3.906 kB / 0.947 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.8793, allocations: 131.6 kB / 0.9472 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.8793, allocations: 9.5 kB / 0.9472 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.8798, allocations: 73.89 kB / 0.9472 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.8799, allocations: 29.91 kB / 0.9473 GB, free: 17.4 MB / 0.7481 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.0002991/0.8802, allocations: 244.2 kB / 0.9475 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.8803, allocations: 70.66 kB / 0.9476 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.8817, allocations: 0.7558 MB / 0.9483 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.8817, allocations: 9.312 kB / 0.9483 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.8817, allocations: 1.5 kB / 0.9483 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.8817, allocations: 3.891 kB / 0.9483 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.8826, allocations: 0.8837 MB / 0.9492 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.8827, allocations: 0 / 0.9492 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.8831, allocations: 122.9 kB / 0.9493 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.8831, allocations: 2.875 kB / 0.9493 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.8831, allocations: 17.38 kB / 0.9493 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-06/0.8831, allocations: 2.562 kB / 0.9493 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.8831, allocations: 6.188 kB / 0.9493 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.8842, allocations: 0.6368 MB / 0.95 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.8845, allocations: 235.8 kB / 0.9502 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.8846, allocations: 19.81 kB / 0.9502 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.885, allocations: 46.41 kB / 0.9502 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.8851, allocations: 50.41 kB / 0.9503 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.8852, allocations: 25.23 kB / 0.9503 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006132/0.8858, allocations: 430 kB / 0.9507 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8858, allocations: 0.5 kB / 0.9507 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008167/0.8867, allocations: 220.7 kB / 0.9509 GB, free: 16.41 MB / 0.7481 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.001169/0.8878, allocations: 0.5586 MB / 0.9515 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008717/0.8887, allocations: 0.4982 MB / 0.952 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.8887, allocations: 0.9375 kB / 0.952 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004277/0.8892, allocations: 278.1 kB / 0.9522 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.8903, allocations: 244.3 kB / 0.9525 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.8931, allocations: 1.61 MB / 0.954 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007265/0.8938, allocations: 0.948 MB / 0.955 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008238/0.8946, allocations: 238.7 kB / 0.9552 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.8948, allocations: 94.75 kB / 0.9553 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.8948, allocations: 0 / 0.9553 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of Templates: time 0.01778/0.9126, allocations: 10.55 MB / 0.9656 GB, free: 13.74 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (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)