Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 215.2 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.11/3.11, allocations: 0.49 GB / 0.7951 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 74.95 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3265, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006752/0.3333, allocations: 4.626 MB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1789/0.5122, allocations: 154.1 MB / 1.481 GB, free: 2.633 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.513, allocations: 27.81 kB / 1.481 GB, free: 2.605 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.5136, allocations: 186.3 kB / 1.481 GB, free: 2.422 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.5154, allocations: 0.5215 MB / 1.482 GB, free: 1.902 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.5172, allocations: 0.7976 MB / 1.482 GB, free: 1.109 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001559/0.5188, allocations: 1.277 MB / 1.484 GB, free: 15.83 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006623/0.5195, allocations: 339.4 kB / 1.484 GB, free: 15.48 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000782/0.5202, allocations: 430.5 kB / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006696/0.5209, allocations: 438.1 kB / 1.485 GB, free: 14.62 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.5211, allocations: 100 kB / 1.485 GB, free: 14.53 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009884/0.5221, allocations: 439.6 kB / 1.485 GB, free: 14.1 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.5224, allocations: 263.1 kB / 1.485 GB, free: 13.84 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005615/0.5229, allocations: 0.4897 MB / 1.486 GB, free: 13.35 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.5251, allocations: 1.447 MB / 1.487 GB, free: 11.89 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5251, allocations: 0 / 1.487 GB, free: 11.89 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5251, allocations: 0 / 1.487 GB, free: 11.89 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.074e-05/0.5252, allocations: 0 / 1.487 GB, free: 11.89 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002539/0.5277, allocations: 1.275 MB / 1.489 GB, free: 10.58 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.5277, allocations: 12.03 kB / 1.489 GB, free: 10.57 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.5279, allocations: 114.7 kB / 1.489 GB, free: 10.45 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006939/0.5286, allocations: 132.2 kB / 1.489 GB, free: 10.32 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.5298, allocations: 0.6666 MB / 1.49 GB, free: 9.625 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.754e-05/0.5299, allocations: 58 kB / 1.49 GB, free: 9.566 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.5299, allocations: 64 kB / 1.49 GB, free: 9.504 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5312, allocations: 0.7643 MB / 1.49 GB, free: 8.688 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.5312, allocations: 11.92 kB / 1.49 GB, free: 8.676 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/0.5313, allocations: 32 kB / 1.49 GB, free: 8.645 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.5313, allocations: 16 kB / 1.49 GB, free: 8.629 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.5327, allocations: 0.9689 MB / 1.491 GB, free: 7.66 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.5361, allocations: 2.432 MB / 1.494 GB, free: 5.156 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.5373, allocations: 0.6488 MB / 1.494 GB, free: 4.484 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.5377, allocations: 231.7 kB / 1.495 GB, free: 4.254 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-05/0.5377, allocations: 32.55 kB / 1.495 GB, free: 4.223 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006914/0.5384, allocations: 423.9 kB / 1.495 GB, free: 3.789 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 2.285e-06/0.5384, allocations: 0 / 1.495 GB, free: 3.789 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.001578/0.54, allocations: 0.8449 MB / 1.496 GB, free: 2.938 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.5402, allocations: 247.9 kB / 1.496 GB, free: 2.641 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008378/0.541, allocations: 0.6528 MB / 1.497 GB, free: 1.977 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.5411, allocations: 41.7 kB / 1.497 GB, free: 1.93 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.5414, allocations: 369 kB / 1.497 GB, free: 1.562 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.5416, allocations: 234.1 kB / 1.497 GB, free: 1.332 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.5418, allocations: 146.2 kB / 1.498 GB, free: 1.184 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.542, allocations: 382.8 kB / 1.498 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.5423, allocations: 197.2 kB / 1.498 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.5428, allocations: 329.4 kB / 1.498 GB, free: 256 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008043/0.5436, allocations: 0.4942 MB / 1.499 GB, free: 15.74 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5436, allocations: 0 / 1.499 GB, free: 15.74 MB / 1.201 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001097/0.5447, allocations: 0.649 MB / 1.499 GB, free: 15.08 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.5447, allocations: 4 kB / 1.499 GB, free: 15.08 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5447, allocations: 0 / 1.499 GB, free: 15.08 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.5447, allocations: 8 kB / 1.5 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.5452, allocations: 135.7 kB / 1.5 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.5453, allocations: 4 kB / 1.5 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.5458, allocations: 87.67 kB / 1.5 GB, free: 14.85 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.5458, allocations: 32.05 kB / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0003584/0.5462, allocations: 257.7 kB / 1.5 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.5464, allocations: 87.42 kB / 1.5 GB, free: 14.47 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.5479, allocations: 0.8449 MB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.5479, allocations: 11.94 kB / 1.501 GB, free: 13.6 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5479, allocations: 0 / 1.501 GB, free: 13.6 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.5479, allocations: 3.984 kB / 1.501 GB, free: 13.6 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.5492, allocations: 0.9629 MB / 1.502 GB, free: 12.58 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5492, allocations: 0 / 1.502 GB, free: 12.58 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.5496, allocations: 127.8 kB / 1.502 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.5496, allocations: 4 kB / 1.502 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.5497, allocations: 27.92 kB / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.5497, allocations: 4 kB / 1.502 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5497, allocations: 0 / 1.502 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.5509, allocations: 0.7437 MB / 1.503 GB, free: 11.65 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.5513, allocations: 195 kB / 1.503 GB, free: 11.46 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.5514, allocations: 16 kB / 1.503 GB, free: 11.45 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.5519, allocations: 57.66 kB / 1.503 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.552, allocations: 60.55 kB / 1.503 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-05/0.5521, allocations: 31.97 kB / 1.503 GB, free: 11.3 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005946/0.5527, allocations: 479 kB / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5527, allocations: 0 / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007186/0.5534, allocations: 267.4 kB / 1.504 GB, free: 10.58 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003299/0.5567, allocations: 1.808 MB / 1.506 GB, free: 8.922 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00099/0.5577, allocations: 0.5248 MB / 1.506 GB, free: 8.395 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5577, allocations: 0 / 1.506 GB, free: 8.395 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000482/0.5582, allocations: 299.6 kB / 1.506 GB, free: 8.105 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5592, allocations: 274.3 kB / 1.507 GB, free: 7.855 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008198/0.5674, allocations: 5.609 MB / 1.512 GB, free: 2.121 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.5681, allocations: 0.9759 MB / 1.513 GB, free: 1.121 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007901/0.5689, allocations: 254.4 kB / 1.513 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/0.5694, allocations: 343.3 kB / 1.514 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of SimCode: time 8.32e-07/0.5694, allocations: 7.938 kB / 1.514 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05501/0.6244, allocations: 19.57 MB / 1.533 GB, free: 13.16 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.61, allocations: 20.31 kB / 1.533 GB, free: 13.15 MB / 1.232 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv --start-time 0 --stop-time 9.4608e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 37843.2 Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable weaDat.weaBus.TDryBul in file Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv. Warning: Get data of variable weaDat.weaBus.TDryBul from file Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.33115621199977]