Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00181/0.00181, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002255/0.002255, allocations: 212.3 kB / 22.24 MB, free: 5.242 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.344/3.344, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_latest_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.002023/0.002023, allocations: 70.78 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3529, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006423/0.3593, allocations: 4.145 MB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1724/0.5317, allocations: 132.6 MB / 1.497 GB, free: 4.785 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009447/0.5327, allocations: 23.81 kB / 1.497 GB, free: 4.762 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006261/0.5333, allocations: 182.4 kB / 1.497 GB, free: 4.582 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.5351, allocations: 0.5234 MB / 1.498 GB, free: 4.059 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.5371, allocations: 0.7848 MB / 1.498 GB, free: 3.281 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.5387, allocations: 1.269 MB / 1.5 GB, free: 2.008 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006421/0.5393, allocations: 331.3 kB / 1.5 GB, free: 1.664 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000652/0.54, allocations: 434.5 kB / 1.5 GB, free: 1.238 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005381/0.5405, allocations: 394.1 kB / 1.501 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.5406, allocations: 100 kB / 1.501 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007779/0.5414, allocations: 403.6 kB / 1.501 GB, free: 368 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.5417, allocations: 263.1 kB / 1.501 GB, free: 104 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.5421, allocations: 398.1 kB / 1.502 GB, free: 15.71 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.5438, allocations: 1.463 MB / 1.503 GB, free: 14.24 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5438, allocations: 0 / 1.503 GB, free: 14.24 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5438, allocations: 0 / 1.503 GB, free: 14.24 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.5438, allocations: 0 / 1.503 GB, free: 14.24 MB / 1.201 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.002202/0.546, allocations: 1.262 MB / 1.505 GB, free: 12.94 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5461, allocations: 8.031 kB / 1.505 GB, free: 12.93 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.5462, allocations: 114.7 kB / 1.505 GB, free: 12.81 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006537/0.5468, allocations: 144.1 kB / 1.505 GB, free: 12.67 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.548, allocations: 0.6667 MB / 1.505 GB, free: 11.98 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.5481, allocations: 50 kB / 1.505 GB, free: 11.93 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.183e-05/0.5482, allocations: 64 kB / 1.506 GB, free: 11.86 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.5496, allocations: 1.031 MB / 1.507 GB, free: 10.72 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5496, allocations: 0 / 1.507 GB, free: 10.72 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.5497, allocations: 31.98 kB / 1.507 GB, free: 10.69 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.5497, allocations: 24 kB / 1.507 GB, free: 10.66 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.5511, allocations: 0.9259 MB / 1.507 GB, free: 9.738 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.5545, allocations: 2.237 MB / 1.51 GB, free: 7.426 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.5557, allocations: 0.646 MB / 1.51 GB, free: 6.77 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.556, allocations: 231.5 kB / 1.511 GB, free: 6.539 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 6.428e-05/0.5561, allocations: 20.73 kB / 1.511 GB, free: 6.52 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007041/0.5568, allocations: 475.3 kB / 1.511 GB, free: 6.023 MB / 1.201 GB Notification: Performance of pre-optimization done (n=70): time 2.204e-06/0.5568, allocations: 0 / 1.511 GB, free: 6.023 MB / 1.201 GB Notification: Performance of matching and sorting (n=70): time 0.001585/0.5584, allocations: 0.8487 MB / 1.512 GB, free: 5.168 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.5586, allocations: 247.9 kB / 1.512 GB, free: 4.871 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008413/0.5594, allocations: 0.6489 MB / 1.513 GB, free: 4.215 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.5594, allocations: 41.83 kB / 1.513 GB, free: 4.168 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.5598, allocations: 377 kB / 1.513 GB, free: 3.793 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.56, allocations: 238 kB / 1.513 GB, free: 3.559 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.5602, allocations: 142.2 kB / 1.513 GB, free: 3.414 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5604, allocations: 382.8 kB / 1.514 GB, free: 3.031 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.5608, allocations: 205.2 kB / 1.514 GB, free: 2.828 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.5613, allocations: 475.6 kB / 1.514 GB, free: 2.293 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008065/0.5621, allocations: 0.502 MB / 1.515 GB, free: 1.773 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5621, allocations: 0 / 1.515 GB, free: 1.773 MB / 1.201 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001095/0.5632, allocations: 0.6374 MB / 1.516 GB, free: 1.129 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5632, allocations: 6.031 kB / 1.516 GB, free: 1.125 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.5632, allocations: 4 kB / 1.516 GB, free: 1.121 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5633, allocations: 4 kB / 1.516 GB, free: 1.117 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.5638, allocations: 135.7 kB / 1.516 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.5638, allocations: 11.92 kB / 1.516 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.5643, allocations: 95.62 kB / 1.516 GB, free: 0.8789 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.5643, allocations: 24.05 kB / 1.516 GB, free: 0.8555 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.0003372/0.5647, allocations: 254.8 kB / 1.516 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.5648, allocations: 87.48 kB / 1.516 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.5664, allocations: 0.8488 MB / 1.517 GB, free: 15.65 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5664, allocations: 11.94 kB / 1.517 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5664, allocations: 0 / 1.517 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.5665, allocations: 3.984 kB / 1.517 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.5676, allocations: 0.8498 MB / 1.518 GB, free: 14.73 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5676, allocations: 0 / 1.518 GB, free: 14.73 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.568, allocations: 127.8 kB / 1.518 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.568, allocations: 4 kB / 1.518 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.5681, allocations: 23.98 kB / 1.518 GB, free: 14.58 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.5681, allocations: 7.938 kB / 1.518 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5681, allocations: 0 / 1.518 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.5693, allocations: 0.7437 MB / 1.519 GB, free: 13.8 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/0.5696, allocations: 191.1 kB / 1.519 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.5698, allocations: 23.95 kB / 1.519 GB, free: 13.59 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/0.5703, allocations: 51.97 kB / 1.519 GB, free: 13.54 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.5704, allocations: 64.48 kB / 1.519 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/0.5705, allocations: 35.97 kB / 1.519 GB, free: 13.45 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006178/0.5711, allocations: 475 kB / 1.52 GB, free: 12.99 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5711, allocations: 0 / 1.52 GB, free: 12.99 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007161/0.5718, allocations: 271.3 kB / 1.52 GB, free: 12.72 MB / 1.217 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.003514/0.5753, allocations: 1.818 MB / 1.522 GB, free: 11.08 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009649/0.5763, allocations: 0.5287 MB / 1.522 GB, free: 10.55 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5763, allocations: 4 kB / 1.522 GB, free: 10.55 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.5768, allocations: 299.6 kB / 1.522 GB, free: 10.25 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.5778, allocations: 278.5 kB / 1.523 GB, free: 10 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008043/0.5859, allocations: 5.609 MB / 1.528 GB, free: 4.266 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.5863, allocations: 385.5 kB / 1.528 GB, free: 3.867 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007946/0.5871, allocations: 254.5 kB / 1.529 GB, free: 3.613 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/0.5876, allocations: 343.3 kB / 1.529 GB, free: 3.277 MB / 1.217 GB Notification: Performance of SimCode: time 9.12e-07/0.5876, allocations: 4 kB / 1.529 GB, free: 3.273 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05562/0.6432, allocations: 20.55 MB / 1.549 GB, free: 15.01 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.51, allocations: 3.938 kB / 1.549 GB, free: 15.01 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv --start-time 0 --stop-time 9.4608e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 37843.2 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv. Warning: Get data of variable weaDat.weaBus.TDryBul from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.60700523108244]