Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001789/0.001789, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002118/0.002118, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.888/2.888, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_11_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.002106/0.002106, allocations: 65 kB / 1.117 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3509, allocations: 169.9 MB / 1.283 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.00669/0.3576, allocations: 4.156 MB / 1.287 GB, free: 52 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1811/0.5388, allocations: 132.6 MB / 1.416 GB, free: 10.93 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.5398, allocations: 23.81 kB / 1.416 GB, free: 10.9 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000937/0.5407, allocations: 186.3 kB / 1.416 GB, free: 10.72 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.5432, allocations: 0.5241 MB / 1.417 GB, free: 10.2 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.5454, allocations: 0.7765 MB / 1.418 GB, free: 9.426 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001959/0.5474, allocations: 1.273 MB / 1.419 GB, free: 8.148 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008912/0.5483, allocations: 323.4 kB / 1.419 GB, free: 7.809 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009031/0.5492, allocations: 434.5 kB / 1.42 GB, free: 7.383 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008209/0.55, allocations: 394 kB / 1.42 GB, free: 6.996 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002574/0.5502, allocations: 104 kB / 1.42 GB, free: 6.895 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.5513, allocations: 411.6 kB / 1.42 GB, free: 6.492 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.5516, allocations: 271.1 kB / 1.421 GB, free: 6.227 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006143/0.5522, allocations: 394 kB / 1.421 GB, free: 5.84 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.5548, allocations: 1.455 MB / 1.422 GB, free: 4.379 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5548, allocations: 4 kB / 1.422 GB, free: 4.375 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5548, allocations: 0 / 1.422 GB, free: 4.375 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.787e-05/0.5548, allocations: 0 / 1.422 GB, free: 4.375 MB / 1.123 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.002874/0.5577, allocations: 1.255 MB / 1.424 GB, free: 3.082 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5578, allocations: 8.031 kB / 1.424 GB, free: 3.074 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.5579, allocations: 118.7 kB / 1.424 GB, free: 2.949 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007864/0.5587, allocations: 136.2 kB / 1.424 GB, free: 2.816 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.5602, allocations: 0.6705 MB / 1.425 GB, free: 2.121 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.789e-05/0.5602, allocations: 53.98 kB / 1.425 GB, free: 2.066 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.5603, allocations: 68 kB / 1.425 GB, free: 2 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.5619, allocations: 1.031 MB / 1.426 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.5619, allocations: 0 / 1.426 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.562, allocations: 31.98 kB / 1.426 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.562, allocations: 16 kB / 1.426 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.5635, allocations: 0.9298 MB / 1.427 GB, free: 15.88 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004027/0.5675, allocations: 2.237 MB / 1.429 GB, free: 13.57 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.5688, allocations: 0.6496 MB / 1.429 GB, free: 12.9 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.5692, allocations: 235.5 kB / 1.43 GB, free: 12.66 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 6.889e-05/0.5693, allocations: 20.62 kB / 1.43 GB, free: 12.64 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007713/0.5701, allocations: 479.2 kB / 1.43 GB, free: 12.14 MB / 1.139 GB Notification: Performance of pre-optimization done (n=70): time 3.406e-06/0.5701, allocations: 4 kB / 1.43 GB, free: 12.14 MB / 1.139 GB Notification: Performance of matching and sorting (n=70): time 0.001715/0.5718, allocations: 0.8449 MB / 1.431 GB, free: 11.29 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/0.572, allocations: 247.9 kB / 1.431 GB, free: 10.99 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.573, allocations: 0.6528 MB / 1.432 GB, free: 10.33 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.749e-05/0.5731, allocations: 37.7 kB / 1.432 GB, free: 10.29 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.5734, allocations: 377 kB / 1.432 GB, free: 9.914 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.5737, allocations: 234.1 kB / 1.433 GB, free: 9.684 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.5739, allocations: 138.2 kB / 1.433 GB, free: 9.543 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.5741, allocations: 386.7 kB / 1.433 GB, free: 9.156 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.5744, allocations: 197.2 kB / 1.433 GB, free: 8.965 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.5751, allocations: 487.8 kB / 1.434 GB, free: 8.414 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008678/0.5759, allocations: 0.4982 MB / 1.434 GB, free: 7.898 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5759, allocations: 0 / 1.434 GB, free: 7.898 MB / 1.139 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001251/0.5772, allocations: 0.6451 MB / 1.435 GB, free: 7.246 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.5772, allocations: 10.12 kB / 1.435 GB, free: 7.238 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.5772, allocations: 4 kB / 1.435 GB, free: 7.234 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.5772, allocations: 4 kB / 1.435 GB, free: 7.23 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.5778, allocations: 139.7 kB / 1.435 GB, free: 7.094 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.5778, allocations: 7.938 kB / 1.435 GB, free: 7.086 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.5784, allocations: 79.52 kB / 1.435 GB, free: 7.008 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/0.5785, allocations: 31.98 kB / 1.435 GB, free: 6.977 MB / 1.139 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.0004136/0.5789, allocations: 257.7 kB / 1.435 GB, free: 6.715 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.5791, allocations: 87.42 kB / 1.435 GB, free: 6.629 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.5808, allocations: 0.8489 MB / 1.436 GB, free: 5.766 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.5808, allocations: 11.94 kB / 1.436 GB, free: 5.754 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.5808, allocations: 0 / 1.436 GB, free: 5.754 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.5808, allocations: 3.984 kB / 1.436 GB, free: 5.75 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.5822, allocations: 0.8459 MB / 1.437 GB, free: 4.852 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5822, allocations: 0 / 1.437 GB, free: 4.852 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.5826, allocations: 127.8 kB / 1.437 GB, free: 4.727 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.5826, allocations: 4 kB / 1.437 GB, free: 4.723 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.5827, allocations: 19.98 kB / 1.437 GB, free: 4.703 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5827, allocations: 4 kB / 1.437 GB, free: 4.699 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5827, allocations: 4.031 kB / 1.437 GB, free: 4.695 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.584, allocations: 0.7437 MB / 1.438 GB, free: 3.934 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/0.5844, allocations: 191.1 kB / 1.438 GB, free: 3.746 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.5846, allocations: 12 kB / 1.438 GB, free: 3.734 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/0.5851, allocations: 55.94 kB / 1.438 GB, free: 3.68 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.5853, allocations: 64.48 kB / 1.438 GB, free: 3.617 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.5853, allocations: 31.97 kB / 1.438 GB, free: 3.586 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006493/0.586, allocations: 479 kB / 1.439 GB, free: 3.125 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.586, allocations: 4 kB / 1.439 GB, free: 3.121 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007772/0.5868, allocations: 275.3 kB / 1.439 GB, free: 2.852 MB / 1.139 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.003694/0.5904, allocations: 1.818 MB / 1.441 GB, free: 1.207 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.5915, allocations: 0.5248 MB / 1.441 GB, free: 0.6836 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5915, allocations: 4 kB / 1.441 GB, free: 0.6797 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.592, allocations: 299.9 kB / 1.442 GB, free: 396 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5932, allocations: 289.2 kB / 1.442 GB, free: 128 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008891/0.6021, allocations: 5.605 MB / 1.447 GB, free: 10.4 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.6025, allocations: 385.5 kB / 1.448 GB, free: 9.996 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008129/0.6034, allocations: 254.5 kB / 1.448 GB, free: 9.742 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/0.6039, allocations: 347.3 kB / 1.448 GB, free: 9.402 MB / 1.154 GB Notification: Performance of SimCode: time 9.11e-07/0.6039, allocations: 0 / 1.448 GB, free: 9.402 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06475/0.6686, allocations: 20.54 MB / 1.468 GB, free: 5.137 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.46, allocations: 11.17 kB / 1.468 GB, free: 5.129 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_fmu --startTime=0 --stopTime=9.4608e+07 --stepSize=37843.2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.27336925175041]