Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.001956/0.001956, allocations: 108.8 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.002658/0.002658, allocations: 191.4 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.474/1.474, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.26/3.26, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 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-master/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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart")
translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 61.09 kB / 1.145 GB, free: 30.72 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3645, allocations: 174.9 MB / 1.316 GB, free: 9.762 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.007272/0.3717, allocations: 4.587 MB / 1.32 GB, free: 5.152 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1854/0.5572, allocations: 151.1 MB / 1.468 GB, free: 13.43 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.5583, allocations: 23.81 kB / 1.468 GB, free: 13.4 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006925/0.559, allocations: 178.4 kB / 1.468 GB, free: 13.23 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.001848/0.5609, allocations: 0.5122 MB / 1.469 GB, free: 12.71 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.5628, allocations: 0.7797 MB / 1.47 GB, free: 11.94 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.001589/0.5644, allocations: 1.253 MB / 1.471 GB, free: 10.68 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006486/0.565, allocations: 347.2 kB / 1.471 GB, free: 10.32 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006165/0.5656, allocations: 422.5 kB / 1.471 GB, free: 9.906 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006195/0.5663, allocations: 434.1 kB / 1.472 GB, free: 9.48 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.5665, allocations: 96 kB / 1.472 GB, free: 9.387 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008215/0.5673, allocations: 403.6 kB / 1.472 GB, free: 8.992 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.5676, allocations: 255.1 kB / 1.473 GB, free: 8.742 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.5681, allocations: 489.5 kB / 1.473 GB, free: 8.262 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.001786/0.5699, allocations: 1.416 MB / 1.474 GB, free: 6.84 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5699, allocations: 0 / 1.474 GB, free: 6.84 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.553e-06/0.5699, allocations: 0 / 1.474 GB, free: 6.84 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.416e-05/0.5699, allocations: 0 / 1.474 GB, free: 6.84 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.002499/0.5724, allocations: 1.227 MB / 1.476 GB, free: 5.574 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5724, allocations: 8.031 kB / 1.476 GB, free: 5.566 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.5728, allocations: 116.3 kB / 1.476 GB, free: 5.453 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.574, allocations: 0.6552 MB / 1.476 GB, free: 4.77 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/0.5741, allocations: 57.98 kB / 1.476 GB, free: 4.711 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.33e-05/0.5741, allocations: 64 kB / 1.477 GB, free: 4.648 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.5755, allocations: 0.776 MB / 1.477 GB, free: 3.82 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.5755, allocations: 3.938 kB / 1.477 GB, free: 3.816 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/0.5756, allocations: 28 kB / 1.477 GB, free: 3.789 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.5756, allocations: 16 kB / 1.477 GB, free: 3.773 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.577, allocations: 0.9728 MB / 1.478 GB, free: 2.801 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.5807, allocations: 2.415 MB / 1.481 GB, free: 320 kB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5819, allocations: 0.6462 MB / 1.481 GB, free: 15.65 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.5823, allocations: 231.6 kB / 1.482 GB, free: 15.42 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/0.5824, allocations: 28.53 kB / 1.482 GB, free: 15.39 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000706/0.5831, allocations: 423.9 kB / 1.482 GB, free: 14.96 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=70): time 2.114e-06/0.5831, allocations: 0 / 1.482 GB, free: 14.96 MB / 1.186 GB
Notification: Performance of matching and sorting (n=70): time 0.001606/0.5847, allocations: 0.841 MB / 1.483 GB, free: 14.11 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.5849, allocations: 243.9 kB / 1.483 GB, free: 13.82 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008535/0.5857, allocations: 0.637 MB / 1.484 GB, free: 13.17 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.5858, allocations: 41.64 kB / 1.484 GB, free: 13.12 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.5861, allocations: 361 kB / 1.484 GB, free: 12.77 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.5863, allocations: 246.1 kB / 1.484 GB, free: 12.52 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.5865, allocations: 150.6 kB / 1.484 GB, free: 12.37 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0002144/0.5867, allocations: 382.8 kB / 1.485 GB, free: 11.99 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.5871, allocations: 221.9 kB / 1.485 GB, free: 11.77 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/0.5876, allocations: 333.4 kB / 1.485 GB, free: 11.43 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.5885, allocations: 0.5177 MB / 1.486 GB, free: 10.89 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5885, allocations: 112 / 1.486 GB, free: 10.89 MB / 1.186 GB
Notification: Performance of matching and sorting (n=88) (initialization): time 0.001173/0.5897, allocations: 0.6998 MB / 1.486 GB, free: 10.18 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.5897, allocations: 7.938 kB / 1.486 GB, free: 10.17 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.5897, allocations: 0 / 1.486 GB, free: 10.17 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.5897, allocations: 8 kB / 1.486 GB, free: 10.16 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.5903, allocations: 147.7 kB / 1.487 GB, free: 10.02 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.5903, allocations: 7.938 kB / 1.487 GB, free: 10.01 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/0.5909, allocations: 87.52 kB / 1.487 GB, free: 9.926 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.591, allocations: 36.09 kB / 1.487 GB, free: 9.891 MB / 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: 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.0004064/0.5914, allocations: 260.3 kB / 1.487 GB, free: 9.629 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.5915, allocations: 83.47 kB / 1.487 GB, free: 9.547 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.5932, allocations: 0.8486 MB / 1.488 GB, free: 8.684 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.5932, allocations: 8 kB / 1.488 GB, free: 8.676 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5932, allocations: 7.938 kB / 1.488 GB, free: 8.668 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5932, allocations: 3.984 kB / 1.488 GB, free: 8.664 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.5945, allocations: 0.9317 MB / 1.489 GB, free: 7.68 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5945, allocations: 0 / 1.489 GB, free: 7.68 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.595, allocations: 123.8 kB / 1.489 GB, free: 7.559 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.595, allocations: 7.938 kB / 1.489 GB, free: 7.551 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.595, allocations: 23.98 kB / 1.489 GB, free: 7.527 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.595, allocations: 4 kB / 1.489 GB, free: 7.523 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.595, allocations: 0 / 1.489 GB, free: 7.523 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.5962, allocations: 0.7476 MB / 1.49 GB, free: 6.758 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.5966, allocations: 179.1 kB / 1.49 GB, free: 6.582 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.5967, allocations: 27.98 kB / 1.49 GB, free: 6.555 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005126/0.5972, allocations: 53.84 kB / 1.49 GB, free: 6.504 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.5974, allocations: 60.53 kB / 1.49 GB, free: 6.441 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.5974, allocations: 27.98 kB / 1.49 GB, free: 6.414 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006033/0.598, allocations: 467 kB / 1.49 GB, free: 5.965 MB / 1.186 GB
Notification: Performance of sort global known variables: time 9e-08/0.598, allocations: 0 / 1.49 GB, free: 5.965 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0007643/0.5988, allocations: 275.3 kB / 1.491 GB, free: 5.695 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.001938/0.6007, allocations: 0.6006 MB / 1.491 GB, free: 5.262 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001028/0.6018, allocations: 0.556 MB / 1.492 GB, free: 4.707 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6018, allocations: 0 / 1.492 GB, free: 4.707 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004902/0.6023, allocations: 303.9 kB / 1.492 GB, free: 4.41 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.6034, allocations: 269.3 kB / 1.492 GB, free: 4.164 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.606, allocations: 1.455 MB / 1.494 GB, free: 2.676 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/0.6067, allocations: 0.9757 MB / 1.495 GB, free: 1.676 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0007046/0.6074, allocations: 250.3 kB / 1.495 GB, free: 1.426 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.6076, allocations: 103.4 kB / 1.495 GB, free: 1.328 MB / 1.186 GB
Notification: Performance of SimCode: time 3.7e-07/0.6076, allocations: 0 / 1.495 GB, free: 1.328 MB / 1.186 GB
Notification: Performance of Templates: time 0.02363/0.6312, allocations: 13.28 MB / 1.508 GB, free: 4.227 MB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.685177552513778]