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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002498/0.002498, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.231/3.231, allocations: 496 MB / 0.7835 GB, free: 33.48 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData")
translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.97 kB / 1.138 GB, free: 33.74 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3446, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006782/0.3514, allocations: 4.587 MB / 1.312 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1879/0.5392, allocations: 151.2 MB / 1.459 GB, free: 5.457 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008134/0.5401, allocations: 19.81 kB / 1.459 GB, free: 5.438 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005923/0.5407, allocations: 178.4 kB / 1.46 GB, free: 5.262 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.001692/0.5423, allocations: 0.5044 MB / 1.46 GB, free: 4.758 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.5442, allocations: 0.7896 MB / 1.461 GB, free: 3.973 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001668/0.5459, allocations: 1.242 MB / 1.462 GB, free: 2.727 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006539/0.5466, allocations: 343.3 kB / 1.462 GB, free: 2.367 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006617/0.5472, allocations: 430.5 kB / 1.463 GB, free: 1.945 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006335/0.5478, allocations: 426.1 kB / 1.463 GB, free: 1.527 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.548, allocations: 100 kB / 1.463 GB, free: 1.43 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008987/0.5489, allocations: 403.7 kB / 1.464 GB, free: 1.035 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.000283/0.5492, allocations: 259.1 kB / 1.464 GB, free: 0.7812 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004704/0.5496, allocations: 481.5 kB / 1.464 GB, free: 316 kB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.001943/0.5516, allocations: 1.412 MB / 1.466 GB, free: 14.89 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5516, allocations: 0 / 1.466 GB, free: 14.89 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.423e-06/0.5516, allocations: 4 kB / 1.466 GB, free: 14.89 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.624e-05/0.5516, allocations: 3.938 kB / 1.466 GB, free: 14.88 MB / 1.17 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.002382/0.554, allocations: 1.235 MB / 1.467 GB, free: 13.61 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.554, allocations: 8.922 kB / 1.467 GB, free: 13.6 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.5543, allocations: 112.3 kB / 1.467 GB, free: 13.49 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.5556, allocations: 0.6552 MB / 1.468 GB, free: 12.81 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.652e-05/0.5557, allocations: 53.98 kB / 1.468 GB, free: 12.76 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5558, allocations: 64 kB / 1.468 GB, free: 12.7 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.5572, allocations: 0.7721 MB / 1.469 GB, free: 11.87 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.5573, allocations: 7.875 kB / 1.469 GB, free: 11.86 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.5573, allocations: 28 kB / 1.469 GB, free: 11.84 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.5574, allocations: 16 kB / 1.469 GB, free: 11.82 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.5589, allocations: 0.9689 MB / 1.47 GB, free: 10.85 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/0.5627, allocations: 2.416 MB / 1.472 GB, free: 8.359 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.5639, allocations: 0.6489 MB / 1.473 GB, free: 7.691 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/0.5643, allocations: 227.6 kB / 1.473 GB, free: 7.465 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.96e-05/0.5643, allocations: 32.59 kB / 1.473 GB, free: 7.434 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000711/0.565, allocations: 423.9 kB / 1.473 GB, free: 7 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=70): time 2.625e-06/0.565, allocations: 0 / 1.473 GB, free: 7 MB / 1.17 GB
Notification: Performance of matching and sorting (n=70): time 0.0017/0.5667, allocations: 0.8449 MB / 1.474 GB, free: 6.148 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/0.5669, allocations: 247.9 kB / 1.474 GB, free: 5.852 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000932/0.5678, allocations: 0.6331 MB / 1.475 GB, free: 5.211 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.5679, allocations: 37.7 kB / 1.475 GB, free: 5.168 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.5683, allocations: 361.2 kB / 1.475 GB, free: 4.809 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.5685, allocations: 242 kB / 1.475 GB, free: 4.57 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.5687, allocations: 154.6 kB / 1.476 GB, free: 4.414 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002321/0.569, allocations: 378.8 kB / 1.476 GB, free: 4.035 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.5694, allocations: 221.9 kB / 1.476 GB, free: 3.816 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.5699, allocations: 341.4 kB / 1.477 GB, free: 3.461 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/0.5708, allocations: 0.5255 MB / 1.477 GB, free: 2.914 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5708, allocations: 0 / 1.477 GB, free: 2.914 MB / 1.17 GB
Notification: Performance of matching and sorting (n=88) (initialization): time 0.001245/0.572, allocations: 0.6881 MB / 1.478 GB, free: 2.219 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.572, allocations: 11.98 kB / 1.478 GB, free: 2.207 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.572, allocations: 0 / 1.478 GB, free: 2.207 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.5721, allocations: 4 kB / 1.478 GB, free: 2.203 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.5727, allocations: 143.8 kB / 1.478 GB, free: 2.062 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.5727, allocations: 7.938 kB / 1.478 GB, free: 2.055 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/0.5733, allocations: 91.67 kB / 1.478 GB, free: 1.965 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.5734, allocations: 31.97 kB / 1.478 GB, free: 1.934 MB / 1.17 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * Number of states: 0 ()
 * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (88):
 * Single equations (assignments): 88
 * 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.0004782/0.5739, allocations: 259.4 kB / 1.478 GB, free: 1.672 MB / 1.17 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.574, allocations: 79.48 kB / 1.478 GB, free: 1.594 MB / 1.17 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.5756, allocations: 0.8409 MB / 1.479 GB, free: 0.7422 MB / 1.17 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.5757, allocations: 15.92 kB / 1.479 GB, free: 0.7266 MB / 1.17 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.5757, allocations: 3.938 kB / 1.479 GB, free: 0.7227 MB / 1.17 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5757, allocations: 3.984 kB / 1.479 GB, free: 0.7188 MB / 1.17 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.5769, allocations: 0.9472 MB / 1.48 GB, free: 15.72 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5769, allocations: 0 / 1.48 GB, free: 15.72 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.5774, allocations: 127.8 kB / 1.48 GB, free: 15.59 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.5774, allocations: 7.938 kB / 1.48 GB, free: 15.59 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.5774, allocations: 19.98 kB / 1.48 GB, free: 15.57 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.5774, allocations: 4 kB / 1.48 GB, free: 15.56 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5774, allocations: 3.938 kB / 1.48 GB, free: 15.56 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.5786, allocations: 0.7437 MB / 1.481 GB, free: 14.79 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003816/0.579, allocations: 183.1 kB / 1.481 GB, free: 14.61 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.5791, allocations: 23.98 kB / 1.481 GB, free: 14.59 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/0.5796, allocations: 45.98 kB / 1.481 GB, free: 14.55 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.5798, allocations: 64.53 kB / 1.481 GB, free: 14.48 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/0.5798, allocations: 31.98 kB / 1.481 GB, free: 14.45 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0005897/0.5804, allocations: 459 kB / 1.482 GB, free: 14.01 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1e-07/0.5804, allocations: 0 / 1.482 GB, free: 14.01 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0007584/0.5812, allocations: 271.4 kB / 1.482 GB, free: 13.74 MB / 1.186 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.001896/0.5831, allocations: 0.602 MB / 1.483 GB, free: 13.31 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001129/0.5842, allocations: 0.5598 MB / 1.483 GB, free: 12.75 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5842, allocations: 4.312 kB / 1.483 GB, free: 12.75 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.5847, allocations: 299.5 kB / 1.483 GB, free: 12.45 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.5858, allocations: 280.6 kB / 1.484 GB, free: 12.2 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.5887, allocations: 1.447 MB / 1.485 GB, free: 10.72 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006015/0.5893, allocations: 0.9836 MB / 1.486 GB, free: 9.715 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0006822/0.59, allocations: 258.1 kB / 1.486 GB, free: 9.457 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.5902, allocations: 95.39 kB / 1.486 GB, free: 9.363 MB / 1.186 GB
Notification: Performance of SimCode: time 4.91e-07/0.5902, allocations: 0 / 1.486 GB, free: 9.363 MB / 1.186 GB
Notification: Performance of Templates: time 0.02548/0.6157, allocations: 13.27 MB / 1.499 GB, free: 12.24 MB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile [Timeout 300]
(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 & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 400]
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/jenkins/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: 9.958043745718896]