Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001478/0.001478, allocations: 104.7 kB / 16.45 MB, free: 6.5 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.001664/0.001664, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.465/1.465, 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 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.18/3.18, allocations: 0.49 GB / 0.7916 GB, free: 33.37 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.OverAYear_usingOneYearData,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_12_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.002034/0.002034, allocations: 72.95 kB / 1.149 GB, free: 26.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3245, allocations: 176.1 MB / 1.321 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006508/0.331, allocations: 4.579 MB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1818/0.5128, allocations: 153.9 MB / 1.476 GB, free: 4.367 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008949/0.5137, allocations: 23.81 kB / 1.476 GB, free: 4.344 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008372/0.5145, allocations: 186.3 kB / 1.476 GB, free: 4.16 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.5168, allocations: 0.5245 MB / 1.476 GB, free: 3.637 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.5191, allocations: 0.7761 MB / 1.477 GB, free: 2.867 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002022/0.5211, allocations: 1.269 MB / 1.478 GB, free: 1.594 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008627/0.522, allocations: 346.9 kB / 1.479 GB, free: 1.234 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008145/0.5228, allocations: 434.5 kB / 1.479 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007598/0.5236, allocations: 442 kB / 1.479 GB, free: 384 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.5238, allocations: 100 kB / 1.48 GB, free: 284 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009819/0.5248, allocations: 423.6 kB / 1.48 GB, free: 15.86 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.5251, allocations: 275.1 kB / 1.48 GB, free: 15.59 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006582/0.5258, allocations: 493.4 kB / 1.481 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.5282, allocations: 1.451 MB / 1.482 GB, free: 13.65 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5282, allocations: 0 / 1.482 GB, free: 13.65 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5282, allocations: 0 / 1.482 GB, free: 13.65 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.396e-05/0.5283, allocations: 3.938 kB / 1.482 GB, free: 13.65 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.003071/0.5313, allocations: 1.349 MB / 1.483 GB, free: 12.25 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5314, allocations: 11.98 kB / 1.483 GB, free: 12.23 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002396/0.5316, allocations: 114.7 kB / 1.484 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007756/0.5324, allocations: 132.2 kB / 1.484 GB, free: 11.98 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.5336, allocations: 0.7349 MB / 1.484 GB, free: 11.21 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/0.5336, allocations: 58 kB / 1.484 GB, free: 11.15 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-05/0.5337, allocations: 64 kB / 1.484 GB, free: 11.09 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.5351, allocations: 0.772 MB / 1.485 GB, free: 10.26 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.5351, allocations: 0 / 1.485 GB, free: 10.26 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.5351, allocations: 35.98 kB / 1.485 GB, free: 10.23 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.5352, allocations: 16 kB / 1.485 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.5367, allocations: 0.9689 MB / 1.486 GB, free: 9.242 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/0.5405, allocations: 2.479 MB / 1.489 GB, free: 6.684 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.5418, allocations: 0.6486 MB / 1.489 GB, free: 6.012 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/0.5422, allocations: 231.4 kB / 1.49 GB, free: 5.777 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.711e-05/0.5423, allocations: 32.5 kB / 1.49 GB, free: 5.746 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007785/0.5431, allocations: 422.3 kB / 1.49 GB, free: 5.316 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 2.404e-06/0.5431, allocations: 0 / 1.49 GB, free: 5.316 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.001728/0.5448, allocations: 0.842 MB / 1.491 GB, free: 4.469 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.545, allocations: 243.8 kB / 1.491 GB, free: 4.172 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009774/0.546, allocations: 0.6566 MB / 1.492 GB, free: 3.504 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.546, allocations: 41.7 kB / 1.492 GB, free: 3.457 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.5464, allocations: 369 kB / 1.492 GB, free: 3.09 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.5466, allocations: 242.1 kB / 1.492 GB, free: 2.852 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.5469, allocations: 138.2 kB / 1.492 GB, free: 2.711 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.5471, allocations: 382.8 kB / 1.493 GB, free: 2.328 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.5475, allocations: 201.2 kB / 1.493 GB, free: 2.133 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.548, allocations: 333.3 kB / 1.493 GB, free: 1.77 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.549, allocations: 0.49 MB / 1.494 GB, free: 1.266 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.549, allocations: 0 / 1.494 GB, free: 1.266 MB / 1.186 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00125/0.5502, allocations: 0.6451 MB / 1.494 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5502, allocations: 4 kB / 1.494 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5502, allocations: 0 / 1.494 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.5503, allocations: 8 kB / 1.494 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.5508, allocations: 135.7 kB / 1.495 GB, free: 480 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5508, allocations: 4 kB / 1.495 GB, free: 476 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.5514, allocations: 85.92 kB / 1.495 GB, free: 392 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.5515, allocations: 27.98 kB / 1.495 GB, free: 364 kB / 1.186 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.0004808/0.5519, allocations: 261.5 kB / 1.495 GB, free: 92 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.5521, allocations: 83.44 kB / 1.495 GB, free: 8 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.5539, allocations: 0.8605 MB / 1.496 GB, free: 15.13 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5539, allocations: 11.94 kB / 1.496 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.554, allocations: 0 / 1.496 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.554, allocations: 3.984 kB / 1.496 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.5553, allocations: 0.9873 MB / 1.497 GB, free: 14.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5553, allocations: 0 / 1.497 GB, free: 14.07 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.5558, allocations: 131.7 kB / 1.497 GB, free: 13.94 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.5558, allocations: 4 kB / 1.497 GB, free: 13.94 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.5559, allocations: 23.97 kB / 1.497 GB, free: 13.91 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.5559, allocations: 4 kB / 1.497 GB, free: 13.91 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5559, allocations: 7.938 kB / 1.497 GB, free: 13.9 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.5572, allocations: 0.736 MB / 1.498 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.5576, allocations: 272.1 kB / 1.498 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.5577, allocations: 20 kB / 1.498 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/0.5583, allocations: 55.94 kB / 1.498 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.5584, allocations: 56.58 kB / 1.498 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.5585, allocations: 31.97 kB / 1.498 GB, free: 12.7 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006962/0.5592, allocations: 479 kB / 1.499 GB, free: 12.24 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5592, allocations: 0 / 1.499 GB, free: 12.24 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008094/0.56, allocations: 271.3 kB / 1.499 GB, free: 11.97 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.003698/0.5637, allocations: 1.802 MB / 1.501 GB, free: 10.32 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.5648, allocations: 0.5326 MB / 1.501 GB, free: 9.789 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.5648, allocations: 0 / 1.501 GB, free: 9.789 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.5654, allocations: 299.6 kB / 1.501 GB, free: 9.5 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.5666, allocations: 271.1 kB / 1.502 GB, free: 9.254 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009407/0.576, allocations: 5.597 MB / 1.507 GB, free: 3.531 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008299/0.5768, allocations: 0.9817 MB / 1.508 GB, free: 2.523 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000772/0.5776, allocations: 258.5 kB / 1.508 GB, free: 2.266 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/0.5782, allocations: 340.5 kB / 1.509 GB, free: 1.938 MB / 1.201 GB Notification: Performance of SimCode: time 7.72e-07/0.5782, allocations: 4 kB / 1.509 GB, free: 1.934 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05689/0.6351, allocations: 19.02 MB / 1.527 GB, free: 15.16 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.578/10.21, allocations: 16.36 kB / 1.527 GB, free: 15.15 MB / 1.232 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv --start-time 0 --stop-time 3.66336e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3598.23 Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv. Warning: Get data of variable weaDat.weaBus.TDryBul from file Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.131715099094436]