Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.235/1.235, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008728/0.0008728, allocations: 176.9 kB / 325.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205 MB / 0.576 GB, free: 20.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006451/0.000645, allocations: 92.19 kB / 0.6797 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002742, allocations: 8.031 kB / 0.7932 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 105.4 MB / 0.8962 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.003176/0.1393, allocations: 3.714 MB / 0.8998 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1161/0.2553, allocations: 147.9 MB / 1.044 GB, free: 11.42 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.2556, allocations: 23.88 kB / 1.044 GB, free: 11.39 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.256, allocations: 123.1 kB / 1.044 GB, free: 11.27 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.0007585/0.2568, allocations: 345.5 kB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2578, allocations: 0.6037 MB / 1.045 GB, free: 10.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006914/0.2585, allocations: 0.9887 MB / 1.046 GB, free: 9.344 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005141/0.259, allocations: 478.1 kB / 1.047 GB, free: 8.867 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.2593, allocations: 254.8 kB / 1.047 GB, free: 8.617 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.2596, allocations: 282.4 kB / 1.047 GB, free: 8.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.953e-05/0.2596, allocations: 20 kB / 1.047 GB, free: 8.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.26, allocations: 223.7 kB / 1.047 GB, free: 8.102 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.2601, allocations: 143.3 kB / 1.048 GB, free: 7.961 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.2603, allocations: 337.7 kB / 1.048 GB, free: 7.629 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007795/0.2611, allocations: 1.09 MB / 1.049 GB, free: 6.535 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2611, allocations: 0 / 1.049 GB, free: 6.535 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2611, allocations: 0 / 1.049 GB, free: 6.535 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.2611, allocations: 4 kB / 1.049 GB, free: 6.531 MB / 0.698 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.001229/0.2624, allocations: 0.9864 MB / 1.05 GB, free: 5.492 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.2624, allocations: 8.031 kB / 1.05 GB, free: 5.484 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.781e-05/0.2625, allocations: 102.7 kB / 1.05 GB, free: 5.375 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.2628, allocations: 103.8 kB / 1.05 GB, free: 5.273 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.2635, allocations: 0.6557 MB / 1.051 GB, free: 4.574 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.2635, allocations: 45.31 kB / 1.051 GB, free: 4.531 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/0.2636, allocations: 59.98 kB / 1.051 GB, free: 4.473 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.2644, allocations: 0.6931 MB / 1.052 GB, free: 3.727 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2645, allocations: 0 / 1.052 GB, free: 3.727 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.2645, allocations: 31.98 kB / 1.052 GB, free: 3.695 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.2645, allocations: 16 kB / 1.052 GB, free: 3.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2656, allocations: 0.9142 MB / 1.052 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.2682, allocations: 2.356 MB / 1.055 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2674/0.5356, allocations: 0.5927 MB / 1.055 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.536, allocations: 219.8 kB / 1.056 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.898e-05/0.5361, allocations: 34.44 kB / 1.056 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.5366, allocations: 346.1 kB / 1.056 GB, free: 159.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 2.975e-06/0.5366, allocations: 0 / 1.056 GB, free: 159.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001032/0.5376, allocations: 0.7069 MB / 1.057 GB, free: 159.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.5377, allocations: 241.3 kB / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.5382, allocations: 0.5771 MB / 1.057 GB, free: 159.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.5383, allocations: 40.77 kB / 1.057 GB, free: 159.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.5385, allocations: 325.6 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.856e-05/0.5386, allocations: 204.7 kB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.5386, allocations: 50.89 kB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.5387, allocations: 377.2 kB / 1.058 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.5389, allocations: 171.4 kB / 1.059 GB, free: 158.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.5392, allocations: 285.8 kB / 1.059 GB, free: 158.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.5397, allocations: 451.5 kB / 1.059 GB, free: 158.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5397, allocations: 0 / 1.059 GB, free: 158.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00069/0.5404, allocations: 0.5533 MB / 1.06 GB, free: 158.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5404, allocations: 5.875 kB / 1.06 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.5405, allocations: 3.781 kB / 1.06 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5405, allocations: 2.906 kB / 1.06 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.5409, allocations: 122 kB / 1.06 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5409, allocations: 5.938 kB / 1.06 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.5413, allocations: 70.28 kB / 1.06 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.5413, allocations: 24.23 kB / 1.06 GB, free: 158.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 (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 (68): * Single equations (assignments): 68 * 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.000252/0.5416, allocations: 245.5 kB / 1.06 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.5417, allocations: 68.78 kB / 1.06 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.5428, allocations: 0.7519 MB / 1.061 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5428, allocations: 7.344 kB / 1.061 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5428, allocations: 5.5 kB / 1.061 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.5428, allocations: 8.031 kB / 1.061 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007958/0.5436, allocations: 0.8902 MB / 1.062 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5436, allocations: 0 / 1.062 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.544, allocations: 118.7 kB / 1.062 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.544, allocations: 4.141 kB / 1.062 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.544, allocations: 19.08 kB / 1.062 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.544, allocations: 3.609 kB / 1.062 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.544, allocations: 7.531 kB / 1.062 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/0.5449, allocations: 0.6381 MB / 1.063 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/0.5452, allocations: 235.6 kB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.5453, allocations: 19.89 kB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.5458, allocations: 58.22 kB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.53e-05/0.5459, allocations: 50.97 kB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.5459, allocations: 25.83 kB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004555/0.5464, allocations: 425.3 kB / 1.063 GB, free: 157.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5464, allocations: 1.031 kB / 1.063 GB, free: 157.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005502/0.5469, allocations: 220.4 kB / 1.064 GB, free: 157.6 MB / 0.698 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.001971/0.5489, allocations: 1.638 MB / 1.065 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007157/0.5496, allocations: 480.8 kB / 1.066 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5497, allocations: 1.344 kB / 1.066 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.55, allocations: 274.6 kB / 1.066 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009275/0.551, allocations: 238.2 kB / 1.066 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/0.5581, allocations: 5.379 MB / 1.071 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.5585, allocations: 0.9523 MB / 1.072 GB, free: 153.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006236/0.5592, allocations: 244.1 kB / 1.073 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.5595, allocations: 298.2 kB / 1.073 GB, free: 153.5 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/0.5595, allocations: 0 / 1.073 GB, free: 153.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3353/0.8948, allocations: 15.53 MB / 1.088 GB, free: 145.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.8951, allocations: 305.5 kB / 1.088 GB, free: 144.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.31, allocations: 4.562 kB / 1.088 GB, free: 144.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_fmu --startTime=-4.71744e+07 --stopTime=4.74336e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1)