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.00171/0.00171, allocations: 106.4 kB / 18.94 MB, free: 2.957 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.002284/0.002284, allocations: 215.1 kB / 22.25 MB, free: 5.137 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 8 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.042/3.042, allocations: 0.49 GB / 0.7951 GB, free: 33.47 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.002566/0.002566, allocations: 66.94 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3552, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006535/0.3617, allocations: 4.622 MB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1861/0.5478, allocations: 154.1 MB / 1.481 GB, free: 2.52 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009757/0.5488, allocations: 23.81 kB / 1.481 GB, free: 2.496 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008475/0.5497, allocations: 178.4 kB / 1.481 GB, free: 2.32 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.5519, allocations: 0.5274 MB / 1.482 GB, free: 1.793 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.5541, allocations: 0.7971 MB / 1.482 GB, free: 1 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.556, allocations: 1.269 MB / 1.484 GB, free: 15.73 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007911/0.5568, allocations: 343.3 kB / 1.484 GB, free: 15.37 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008224/0.5577, allocations: 434.5 kB / 1.484 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008028/0.5585, allocations: 438.1 kB / 1.485 GB, free: 14.52 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002649/0.5587, allocations: 100 kB / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.5598, allocations: 435.6 kB / 1.485 GB, free: 13.99 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.5603, allocations: 263.1 kB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006181/0.5609, allocations: 493.5 kB / 1.486 GB, free: 13.25 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.5632, allocations: 1.455 MB / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5632, allocations: 0 / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5632, allocations: 0 / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.992e-05/0.5632, allocations: 4 kB / 1.487 GB, free: 11.79 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.002372/0.5656, allocations: 1.266 MB / 1.489 GB, free: 10.48 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.5656, allocations: 12.03 kB / 1.489 GB, free: 10.47 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.5658, allocations: 118.7 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006619/0.5664, allocations: 136.2 kB / 1.489 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.5677, allocations: 0.6667 MB / 1.49 GB, free: 9.516 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.5677, allocations: 57.98 kB / 1.49 GB, free: 9.457 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.5678, allocations: 64 kB / 1.49 GB, free: 9.395 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.5691, allocations: 0.776 MB / 1.49 GB, free: 8.566 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.5691, allocations: 0 / 1.49 GB, free: 8.566 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/0.5692, allocations: 31.94 kB / 1.49 GB, free: 8.535 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.5692, allocations: 19.94 kB / 1.49 GB, free: 8.516 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.5707, allocations: 0.965 MB / 1.491 GB, free: 7.551 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.5744, allocations: 2.428 MB / 1.494 GB, free: 5.047 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.5756, allocations: 0.6527 MB / 1.494 GB, free: 4.371 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.5759, allocations: 231.6 kB / 1.495 GB, free: 4.141 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-05/0.576, allocations: 24.62 kB / 1.495 GB, free: 4.117 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006938/0.5767, allocations: 431.8 kB / 1.495 GB, free: 3.676 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 2.004e-06/0.5767, allocations: 0 / 1.495 GB, free: 3.676 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.001756/0.5785, allocations: 0.841 MB / 1.496 GB, free: 2.828 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002192/0.5787, allocations: 247.9 kB / 1.496 GB, free: 2.531 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/0.5797, allocations: 0.6489 MB / 1.497 GB, free: 1.871 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.467e-05/0.5797, allocations: 45.69 kB / 1.497 GB, free: 1.82 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.5801, allocations: 373 kB / 1.497 GB, free: 1.449 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.5803, allocations: 238.1 kB / 1.497 GB, free: 1.215 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.5805, allocations: 138.2 kB / 1.498 GB, free: 1.074 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.5807, allocations: 382.8 kB / 1.498 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.5811, allocations: 201.2 kB / 1.498 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.5816, allocations: 325.4 kB / 1.498 GB, free: 144 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009036/0.5825, allocations: 0.4942 MB / 1.499 GB, free: 15.63 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5825, allocations: 0 / 1.499 GB, free: 15.63 MB / 1.201 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001251/0.5837, allocations: 0.6451 MB / 1.499 GB, free: 14.98 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.5838, allocations: 4 kB / 1.499 GB, free: 14.97 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.5838, allocations: 4 kB / 1.499 GB, free: 14.97 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.5838, allocations: 4 kB / 1.5 GB, free: 14.96 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.5843, allocations: 135.7 kB / 1.5 GB, free: 14.83 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.5843, allocations: 7.984 kB / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/0.5849, allocations: 91.67 kB / 1.5 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.585, allocations: 23.98 kB / 1.5 GB, free: 14.71 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.0003767/0.5853, allocations: 257.7 kB / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.5855, allocations: 79.59 kB / 1.5 GB, free: 14.37 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.5873, allocations: 0.8604 MB / 1.501 GB, free: 13.5 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.5873, allocations: 11.94 kB / 1.501 GB, free: 13.49 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5873, allocations: 0 / 1.501 GB, free: 13.49 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5873, allocations: 3.984 kB / 1.501 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.5886, allocations: 0.959 MB / 1.502 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5886, allocations: 0 / 1.502 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.589, allocations: 127.8 kB / 1.502 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.589, allocations: 4 kB / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.5891, allocations: 23.98 kB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.5891, allocations: 4 kB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5891, allocations: 0 / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.5903, allocations: 0.7398 MB / 1.503 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.5907, allocations: 199 kB / 1.503 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.5908, allocations: 23.98 kB / 1.503 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.5913, allocations: 57.5 kB / 1.503 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.5914, allocations: 60.55 kB / 1.503 GB, free: 11.22 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.5915, allocations: 27.98 kB / 1.503 GB, free: 11.19 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006355/0.5921, allocations: 483 kB / 1.504 GB, free: 10.73 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5921, allocations: 0 / 1.504 GB, free: 10.73 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008457/0.593, allocations: 267.4 kB / 1.504 GB, free: 10.46 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.003546/0.5965, allocations: 1.801 MB / 1.506 GB, free: 8.816 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.5977, allocations: 0.5248 MB / 1.506 GB, free: 8.289 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5977, allocations: 0 / 1.506 GB, free: 8.289 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005592/0.5982, allocations: 303.5 kB / 1.506 GB, free: 7.996 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.5993, allocations: 275.3 kB / 1.507 GB, free: 7.75 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008862/0.6082, allocations: 5.609 MB / 1.512 GB, free: 2.016 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009311/0.6091, allocations: 0.9798 MB / 1.513 GB, free: 1.012 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007696/0.6099, allocations: 258.4 kB / 1.513 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005351/0.6104, allocations: 339.3 kB / 1.514 GB, free: 436 kB / 1.201 GB Notification: Performance of SimCode: time 9.02e-07/0.6104, allocations: 4 kB / 1.514 GB, free: 432 kB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06098/0.6714, allocations: 19.57 MB / 1.533 GB, free: 13.05 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.52, allocations: 11.97 kB / 1.533 GB, free: 13.05 MB / 1.232 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_fmu --startTime=0 --stopTime=3.66336e+07 --stepSize=3598.23 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.24909685901366]