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.001046/0.001045, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001196/0.001196, allocations: 196.4 kB / 16.26 MB, free: 6.621 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.528/1.528, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.709/1.709, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001583/0.001584, allocations: 66.78 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2801, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006463/0.2866, allocations: 4.041 MB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7436/1.03, allocations: 147.9 MB / 0.9313 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008223/1.031, allocations: 17.16 kB / 0.9313 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005565/1.032, allocations: 129 kB / 0.9314 GB, free: 5.406 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.001288/1.033, allocations: 352.4 kB / 0.9317 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/1.035, allocations: 0.6202 MB / 0.9324 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001195/1.036, allocations: 1.058 MB / 0.9334 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000698/1.037, allocations: 0.4952 MB / 0.9339 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004427/1.037, allocations: 346.9 kB / 0.9342 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004825/1.037, allocations: 365.5 kB / 0.9346 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-05/1.038, allocations: 80.69 kB / 0.9346 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005466/1.038, allocations: 291.7 kB / 0.9349 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002279/1.038, allocations: 228.2 kB / 0.9351 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003956/1.039, allocations: 420.5 kB / 0.9355 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/1.04, allocations: 1.167 MB / 0.9367 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.04, allocations: 4.516 kB / 0.9367 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/1.04, allocations: 0 / 0.9367 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.384e-05/1.04, allocations: 0 / 0.9367 GB, free: 5.219 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.002305/1.042, allocations: 1.145 MB / 0.9378 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/1.043, allocations: 13.88 kB / 0.9378 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/1.043, allocations: 102.1 kB / 0.9379 GB, free: 20.51 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009669/1.044, allocations: 0.6592 MB / 0.9385 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/1.044, allocations: 45.19 kB / 0.9386 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/1.044, allocations: 55.45 kB / 0.9386 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/1.045, allocations: 0.6959 MB / 0.9393 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/1.045, allocations: 2.375 kB / 0.9393 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-05/1.045, allocations: 26.44 kB / 0.9393 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/1.045, allocations: 14.89 kB / 0.9394 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/1.047, allocations: 0.9166 MB / 0.9403 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/1.05, allocations: 2.318 MB / 0.9425 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/1.051, allocations: 0.5959 MB / 0.9431 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/1.051, allocations: 226.5 kB / 0.9433 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-05/1.051, allocations: 28.36 kB / 0.9433 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006364/1.052, allocations: 353.4 kB / 0.9437 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=61): time 2.835e-06/1.052, allocations: 1.688 kB / 0.9437 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=61): time 0.001254/1.053, allocations: 0.7059 MB / 0.9444 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/1.053, allocations: 243.2 kB / 0.9446 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007439/1.054, allocations: 0.5705 MB / 0.9452 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/1.054, allocations: 39.52 kB / 0.9452 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/1.054, allocations: 333 kB / 0.9455 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/1.054, allocations: 208 kB / 0.9457 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/1.054, allocations: 137.2 kB / 0.9458 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.055, allocations: 373.6 kB / 0.9462 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/1.055, allocations: 188.9 kB / 0.9464 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/1.055, allocations: 289.3 kB / 0.9467 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/1.056, allocations: 479.7 kB / 0.9471 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.056, allocations: 0.8125 kB / 0.9471 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001074/1.057, allocations: 0.6074 MB / 0.9477 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.057, allocations: 5.438 kB / 0.9477 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.057, allocations: 1.344 kB / 0.9477 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/1.057, allocations: 7.453 kB / 0.9477 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/1.058, allocations: 129 kB / 0.9478 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.058, allocations: 8.344 kB / 0.9479 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/1.058, allocations: 66.23 kB / 0.9479 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.915e-05/1.059, allocations: 34.62 kB / 0.9479 GB, free: 17.43 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.0003635/1.059, allocations: 247.9 kB / 0.9482 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/1.059, allocations: 71.14 kB / 0.9483 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/1.06, allocations: 0.7526 MB / 0.949 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/1.061, allocations: 8.406 kB / 0.949 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.061, allocations: 1.312 kB / 0.949 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.061, allocations: 4.031 kB / 0.949 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/1.062, allocations: 0.8821 MB / 0.9499 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.062, allocations: 1.031 kB / 0.9499 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004891/1.062, allocations: 117 kB / 0.95 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.062, allocations: 6.875 kB / 0.95 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.665e-05/1.062, allocations: 19.98 kB / 0.95 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.515e-06/1.062, allocations: 10.59 kB / 0.95 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.062, allocations: 1 kB / 0.95 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/1.064, allocations: 0.6361 MB / 0.9506 GB, free: 16.72 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/1.064, allocations: 234.7 kB / 0.9509 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/1.064, allocations: 19.38 kB / 0.9509 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/1.064, allocations: 52.33 kB / 0.9509 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.064, allocations: 46.8 kB / 0.951 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/1.065, allocations: 27.98 kB / 0.951 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006383/1.065, allocations: 426 kB / 0.9514 GB, free: 16.47 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.065, allocations: 0 / 0.9514 GB, free: 16.47 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007779/1.066, allocations: 222.1 kB / 0.9516 GB, free: 16.44 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.001209/1.067, allocations: 0.5626 MB / 0.9522 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001351/1.069, allocations: 0.6565 MB / 0.9528 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.069, allocations: 1.562 kB / 0.9528 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/1.069, allocations: 279.7 kB / 0.9531 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/1.07, allocations: 252.1 kB / 0.9533 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/1.072, allocations: 1.613 MB / 0.9549 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/1.073, allocations: 0.9522 MB / 0.9558 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007452/1.073, allocations: 240 kB / 0.956 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/1.074, allocations: 89.25 kB / 0.9561 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of SimCode: time 2.053e-06/1.074, allocations: 0 / 0.9561 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of Templates: time 0.01903/1.093, allocations: 10.9 MB / 0.9668 GB, free: 13.73 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)