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.001751/0.001751, allocations: 108.2 kB / 16.46 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.002095/0.002095, allocations: 216.2 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.472/1.472, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.238/3.238, allocations: 0.49 GB / 0.7916 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.002075/0.002075, allocations: 68.22 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3825, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007727/0.3902, allocations: 4.583 MB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1901/0.5804, allocations: 153.9 MB / 1.476 GB, free: 4.176 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008823/0.5812, allocations: 27.75 kB / 1.476 GB, free: 4.148 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007577/0.582, allocations: 186.3 kB / 1.476 GB, free: 3.965 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.584, allocations: 0.5158 MB / 1.476 GB, free: 3.449 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.5861, allocations: 0.7783 MB / 1.477 GB, free: 2.676 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.5879, allocations: 1.257 MB / 1.478 GB, free: 1.414 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000695/0.5886, allocations: 350.8 kB / 1.479 GB, free: 1.051 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000701/0.5893, allocations: 430.5 kB / 1.479 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006054/0.5899, allocations: 442.1 kB / 1.479 GB, free: 200 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.59, allocations: 100 kB / 1.48 GB, free: 100 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009024/0.5909, allocations: 427.6 kB / 1.48 GB, free: 15.68 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.5912, allocations: 267.1 kB / 1.48 GB, free: 15.42 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004778/0.5917, allocations: 493.5 kB / 1.481 GB, free: 14.93 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.5936, allocations: 1.455 MB / 1.482 GB, free: 13.47 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.5936, allocations: 3.984 kB / 1.482 GB, free: 13.47 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5936, allocations: 0 / 1.482 GB, free: 13.47 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.5936, allocations: 0 / 1.482 GB, free: 13.47 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.002483/0.5961, allocations: 1.338 MB / 1.483 GB, free: 12.08 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5961, allocations: 15.98 kB / 1.483 GB, free: 12.06 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.5963, allocations: 114.7 kB / 1.484 GB, free: 11.94 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000706/0.597, allocations: 136.2 kB / 1.484 GB, free: 11.81 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.5982, allocations: 0.7388 MB / 1.484 GB, free: 11.03 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.5983, allocations: 54 kB / 1.484 GB, free: 10.98 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.5984, allocations: 64 kB / 1.484 GB, free: 10.91 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5997, allocations: 0.7721 MB / 1.485 GB, free: 10.09 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.5997, allocations: 3.938 kB / 1.485 GB, free: 10.09 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.748e-05/0.5998, allocations: 32 kB / 1.485 GB, free: 10.05 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.5998, allocations: 16 kB / 1.485 GB, free: 10.04 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.6013, allocations: 0.9767 MB / 1.486 GB, free: 9.062 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/0.605, allocations: 2.47 MB / 1.489 GB, free: 6.516 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.6062, allocations: 0.6564 MB / 1.489 GB, free: 5.836 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.6066, allocations: 239.3 kB / 1.49 GB, free: 5.594 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 6.711e-05/0.6067, allocations: 24.53 kB / 1.49 GB, free: 5.57 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006971/0.6074, allocations: 426.3 kB / 1.49 GB, free: 5.137 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 2.073e-06/0.6074, allocations: 0 / 1.49 GB, free: 5.137 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.001626/0.609, allocations: 0.842 MB / 1.491 GB, free: 4.289 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.6092, allocations: 243.8 kB / 1.491 GB, free: 3.992 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/0.6101, allocations: 0.6568 MB / 1.492 GB, free: 3.324 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/0.6102, allocations: 49.69 kB / 1.492 GB, free: 3.27 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/0.6105, allocations: 369 kB / 1.492 GB, free: 2.902 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.6107, allocations: 234 kB / 1.492 GB, free: 2.672 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.6109, allocations: 142.2 kB / 1.492 GB, free: 2.527 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.6111, allocations: 382.8 kB / 1.493 GB, free: 2.145 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.6115, allocations: 197.2 kB / 1.493 GB, free: 1.953 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.612, allocations: 329.4 kB / 1.493 GB, free: 1.594 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008171/0.6128, allocations: 0.4977 MB / 1.494 GB, free: 1.078 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6128, allocations: 0 / 1.494 GB, free: 1.078 MB / 1.186 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001158/0.614, allocations: 0.6412 MB / 1.494 GB, free: 440 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.614, allocations: 4 kB / 1.494 GB, free: 436 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.614, allocations: 0 / 1.494 GB, free: 436 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.614, allocations: 8 kB / 1.494 GB, free: 428 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/0.6145, allocations: 135.7 kB / 1.495 GB, free: 292 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.6145, allocations: 12.2 kB / 1.495 GB, free: 280 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.6151, allocations: 83.58 kB / 1.495 GB, free: 196 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.6151, allocations: 27.98 kB / 1.495 GB, free: 168 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.0003925/0.6155, allocations: 260.5 kB / 1.495 GB, free: 15.9 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.6157, allocations: 87.44 kB / 1.495 GB, free: 15.81 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.6173, allocations: 0.8487 MB / 1.496 GB, free: 14.96 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.6173, allocations: 15.94 kB / 1.496 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6173, allocations: 4 kB / 1.496 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6173, allocations: 3.984 kB / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.6185, allocations: 0.9873 MB / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6185, allocations: 0 / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.619, allocations: 131.7 kB / 1.497 GB, free: 13.76 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.619, allocations: 4 kB / 1.497 GB, free: 13.75 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.619, allocations: 19.98 kB / 1.497 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.619, allocations: 4 kB / 1.497 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.619, allocations: 0 / 1.497 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.6203, allocations: 0.7398 MB / 1.498 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.6206, allocations: 272.1 kB / 1.498 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.6207, allocations: 20 kB / 1.498 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.6212, allocations: 55.94 kB / 1.498 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.6214, allocations: 64.56 kB / 1.498 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.6214, allocations: 27.98 kB / 1.498 GB, free: 12.52 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006101/0.622, allocations: 471 kB / 1.499 GB, free: 12.06 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.622, allocations: 4 kB / 1.499 GB, free: 12.06 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007315/0.6228, allocations: 271.3 kB / 1.499 GB, free: 11.79 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.003375/0.6261, allocations: 1.796 MB / 1.501 GB, free: 10.15 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.6272, allocations: 0.5326 MB / 1.501 GB, free: 9.613 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.6272, allocations: 0 / 1.501 GB, free: 9.613 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.6277, allocations: 299.6 kB / 1.501 GB, free: 9.324 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.6288, allocations: 280 kB / 1.502 GB, free: 9.074 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/0.637, allocations: 5.593 MB / 1.507 GB, free: 3.355 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.6376, allocations: 0.9836 MB / 1.508 GB, free: 2.344 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007434/0.6384, allocations: 250.5 kB / 1.508 GB, free: 2.094 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/0.6389, allocations: 339.3 kB / 1.509 GB, free: 1.766 MB / 1.201 GB Notification: Performance of SimCode: time 1.022e-06/0.6389, allocations: 3.938 kB / 1.509 GB, free: 1.762 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05156/0.6904, allocations: 19.04 MB / 1.527 GB, free: 14.96 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.55/10.24, allocations: 11.97 kB / 1.527 GB, free: 14.95 MB / 1.232 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_fmu --startTime=0 --stopTime=9.4608e+07 --stepSize=37843.2 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.002761564916]