Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.001977/0.001977, allocations: 106.8 kB / 16.45 MB, free: 6.453 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.002175/0.002175, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.364/1.364, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.338/3.338, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.OverAYear_usingOneYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",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.002111/0.002111, allocations: 68.48 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4305, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.007393/0.4379, allocations: 4.58 MB / 1.352 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2075/0.6455, allocations: 153.9 MB / 1.503 GB, free: 10.89 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.6465, allocations: 23.81 kB / 1.503 GB, free: 10.87 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009076/0.6475, allocations: 186.3 kB / 1.503 GB, free: 10.69 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.6499, allocations: 0.5286 MB / 1.503 GB, free: 10.16 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.6523, allocations: 0.7768 MB / 1.504 GB, free: 9.391 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002155/0.6545, allocations: 1.273 MB / 1.505 GB, free: 8.113 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009966/0.6554, allocations: 342.9 kB / 1.506 GB, free: 7.758 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.6565, allocations: 438.5 kB / 1.506 GB, free: 7.328 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009671/0.6575, allocations: 440.2 kB / 1.506 GB, free: 6.898 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004102/0.6579, allocations: 100 kB / 1.507 GB, free: 6.801 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.6593, allocations: 427.7 kB / 1.507 GB, free: 6.383 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005555/0.6598, allocations: 271 kB / 1.507 GB, free: 6.117 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008287/0.6607, allocations: 493.5 kB / 1.508 GB, free: 5.633 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.6633, allocations: 1.451 MB / 1.509 GB, free: 4.176 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6633, allocations: 0 / 1.509 GB, free: 4.176 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6633, allocations: 0 / 1.509 GB, free: 4.176 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.034e-05/0.6634, allocations: 0 / 1.509 GB, free: 4.176 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.003522/0.6669, allocations: 1.349 MB / 1.51 GB, free: 2.766 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.667, allocations: 11.98 kB / 1.51 GB, free: 2.754 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.6671, allocations: 114.7 kB / 1.51 GB, free: 2.633 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.668, allocations: 140.2 kB / 1.511 GB, free: 2.496 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.6693, allocations: 0.731 MB / 1.511 GB, free: 1.723 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.6694, allocations: 50 kB / 1.511 GB, free: 1.672 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/0.6694, allocations: 64 kB / 1.511 GB, free: 1.609 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.6708, allocations: 0.776 MB / 1.512 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.6708, allocations: 4 kB / 1.512 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/0.6709, allocations: 28 kB / 1.512 GB, free: 0.75 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.6709, allocations: 19.98 kB / 1.512 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.6725, allocations: 0.9689 MB / 1.513 GB, free: 15.76 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/0.6766, allocations: 2.48 MB / 1.516 GB, free: 13.2 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.6779, allocations: 0.6486 MB / 1.516 GB, free: 12.54 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/0.6783, allocations: 227.3 kB / 1.516 GB, free: 12.31 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 6.959e-05/0.6784, allocations: 28.52 kB / 1.517 GB, free: 12.28 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007482/0.6791, allocations: 426.3 kB / 1.517 GB, free: 11.85 MB / 1.217 GB Notification: Performance of pre-optimization done (n=70): time 2.635e-06/0.6791, allocations: 4 kB / 1.517 GB, free: 11.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=70): time 0.001868/0.681, allocations: 0.8342 MB / 1.518 GB, free: 11 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/0.6812, allocations: 255.9 kB / 1.518 GB, free: 10.7 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.6823, allocations: 0.6605 MB / 1.519 GB, free: 10.02 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.6824, allocations: 37.7 kB / 1.519 GB, free: 9.98 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.6827, allocations: 369 kB / 1.519 GB, free: 9.613 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.683, allocations: 242 kB / 1.519 GB, free: 9.375 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.6832, allocations: 134.4 kB / 1.519 GB, free: 9.238 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.6835, allocations: 390.8 kB / 1.52 GB, free: 8.848 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.6839, allocations: 201.2 kB / 1.52 GB, free: 8.648 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/0.6844, allocations: 321.3 kB / 1.52 GB, free: 8.297 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008918/0.6853, allocations: 0.4978 MB / 1.521 GB, free: 7.785 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6853, allocations: 0 / 1.521 GB, free: 7.785 MB / 1.217 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001306/0.6866, allocations: 0.6451 MB / 1.521 GB, free: 7.133 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.6866, allocations: 8 kB / 1.521 GB, free: 7.125 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.6867, allocations: 0 / 1.521 GB, free: 7.125 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.6867, allocations: 4 kB / 1.521 GB, free: 7.121 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.6873, allocations: 139.7 kB / 1.521 GB, free: 6.984 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.6873, allocations: 4 kB / 1.522 GB, free: 6.98 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006812/0.688, allocations: 79.64 kB / 1.522 GB, free: 6.902 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.688, allocations: 32.11 kB / 1.522 GB, free: 6.871 MB / 1.217 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.0004465/0.6885, allocations: 261.5 kB / 1.522 GB, free: 6.605 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.6887, allocations: 87.44 kB / 1.522 GB, free: 6.52 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.6905, allocations: 0.841 MB / 1.523 GB, free: 5.668 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.6905, allocations: 11.94 kB / 1.523 GB, free: 5.656 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6905, allocations: 0 / 1.523 GB, free: 5.656 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.6905, allocations: 3.984 kB / 1.523 GB, free: 5.652 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.692, allocations: 0.9833 MB / 1.524 GB, free: 4.609 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.692, allocations: 4.031 kB / 1.524 GB, free: 4.605 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.6925, allocations: 127.8 kB / 1.524 GB, free: 4.48 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.6925, allocations: 11.98 kB / 1.524 GB, free: 4.469 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/0.6926, allocations: 23.98 kB / 1.524 GB, free: 4.445 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.6926, allocations: 7.984 kB / 1.524 GB, free: 4.438 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6926, allocations: 0 / 1.524 GB, free: 4.438 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.694, allocations: 0.7398 MB / 1.525 GB, free: 3.676 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.6944, allocations: 268.2 kB / 1.525 GB, free: 3.395 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.6945, allocations: 23.94 kB / 1.525 GB, free: 3.371 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.6952, allocations: 51.94 kB / 1.525 GB, free: 3.32 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.6953, allocations: 56.58 kB / 1.525 GB, free: 3.266 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/0.6954, allocations: 35.97 kB / 1.525 GB, free: 3.23 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007141/0.6961, allocations: 475 kB / 1.525 GB, free: 2.773 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6961, allocations: 0 / 1.525 GB, free: 2.773 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009242/0.697, allocations: 279.3 kB / 1.526 GB, free: 2.5 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.003848/0.7009, allocations: 1.795 MB / 1.528 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.7021, allocations: 0.5326 MB / 1.528 GB, free: 328 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7021, allocations: 0 / 1.528 GB, free: 328 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005626/0.7027, allocations: 295.6 kB / 1.528 GB, free: 28 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.7041, allocations: 279.4 kB / 1.529 GB, free: 15.77 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009838/0.7139, allocations: 5.589 MB / 1.534 GB, free: 10.06 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007781/0.7147, allocations: 0.9841 MB / 1.535 GB, free: 9.051 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008715/0.7156, allocations: 258.4 kB / 1.535 GB, free: 8.793 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.7162, allocations: 335.3 kB / 1.536 GB, free: 8.465 MB / 1.232 GB Notification: Performance of SimCode: time 9.12e-07/0.7162, allocations: 0 / 1.536 GB, free: 8.465 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08041/0.7966, allocations: 19.04 MB / 1.554 GB, free: 5.656 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.704/10.5, allocations: 10.78 kB / 1.554 GB, free: 5.648 MB / 1.248 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv --start-time 0 --stop-time 3.66336e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3598.23 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData_res.csv. Warning: Get data of variable weaDat.weaBus.TDryBul from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.919319462031126]