Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.001457/0.001457, 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.001436/0.001436, allocations: 192.5 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.478/1.478, allocations: 225.6 MB / 251 MB, free: 13.01 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.159/3.159, allocations: 496 MB / 0.7835 GB, free: 33.6 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.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement")
translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 62.05 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3625, allocations: 173.6 MB / 1.307 GB, free: 1.742 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002538/0.3651, allocations: 1.293 MB / 1.309 GB, free: 448 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002764/0.3678, allocations: 1.551 MB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.3679, allocations: 0 / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.3679, allocations: 7.875 kB / 1.31 GB, free: 14.87 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.000243/0.3681, allocations: 11.92 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.3688, allocations: 218.7 kB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 8.58e-05/0.3689, allocations: 23.91 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.3689, allocations: 4 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.369, allocations: 11.94 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.3692, allocations: 23.91 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.3692, allocations: 0 / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.3695, allocations: 163.8 kB / 1.311 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.3695, allocations: 11.97 kB / 1.311 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.3695, allocations: 8 kB / 1.311 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.3698, allocations: 151.6 kB / 1.311 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3698, allocations: 0 / 1.311 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.783e-06/0.3698, allocations: 0 / 1.311 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.7e-06/0.3698, allocations: 3.938 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 0
 * Number of variables: 0
Notification: Performance of Generate backend data structure: time 0.0004121/0.3702, allocations: 290 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3703, allocations: 8.922 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.3704, allocations: 84.22 kB / 1.311 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.3705, allocations: 185.8 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.3706, allocations: 158.9 kB / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-05/0.3707, allocations: 154.7 kB / 1.312 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.179e-05/0.3708, allocations: 104.9 kB / 1.312 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/0.3708, allocations: 79.27 kB / 1.312 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.3709, allocations: 158.6 kB / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/0.3709, allocations: 150.6 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.892e-05/0.371, allocations: 154.6 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.3713, allocations: 421 kB / 1.313 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.425e-05/0.3714, allocations: 173.1 kB / 1.313 GB, free: 12.06 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.3715, allocations: 88.08 kB / 1.313 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.3715, allocations: 79.28 kB / 1.313 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/0.3716, allocations: 109.8 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3716, allocations: 3.938 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 8.077e-05/0.3716, allocations: 25.7 kB / 1.313 GB, free: 11.74 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.3717, allocations: 138.7 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3718, allocations: 97.86 kB / 1.313 GB, free: 11.48 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3718, allocations: 29.64 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.3719, allocations: 88.12 kB / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/0.3719, allocations: 3.984 kB / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.372, allocations: 17.72 kB / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001415/0.3721, allocations: 314.8 kB / 1.314 GB, free: 11.02 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.3721, allocations: 7.938 kB / 1.314 GB, free: 11.01 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.137e-05/0.3722, allocations: 30.56 kB / 1.314 GB, free: 10.97 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.3722, allocations: 26.52 kB / 1.314 GB, free: 10.93 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3722, allocations: 0 / 1.314 GB, free: 10.93 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001389/0.3723, allocations: 53.81 kB / 1.314 GB, free: 10.88 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3724, allocations: 12.09 kB / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3724, allocations: 0 / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3724, allocations: 4 kB / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.3725, allocations: 7.984 kB / 1.314 GB, free: 10.85 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3725, allocations: 4 kB / 1.314 GB, free: 10.85 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.3726, allocations: 7.953 kB / 1.314 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3726, allocations: 0 / 1.314 GB, free: 10.84 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (3):
 * Single equations (assignments): 3
 * 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.0001314/0.3728, allocations: 185.1 kB / 1.314 GB, free: 10.65 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/0.3729, allocations: 120.8 kB / 1.314 GB, free: 10.52 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.653e-05/0.3729, allocations: 108.1 kB / 1.314 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.838e-05/0.373, allocations: 180.3 kB / 1.314 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.101e-05/0.3731, allocations: 180.2 kB / 1.315 GB, free: 10.04 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.233e-05/0.3732, allocations: 176.3 kB / 1.315 GB, free: 9.863 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.3734, allocations: 388.2 kB / 1.315 GB, free: 9.434 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.527e-05/0.3735, allocations: 101 kB / 1.315 GB, free: 9.328 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.3735, allocations: 109 kB / 1.315 GB, free: 9.215 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.653e-05/0.3736, allocations: 180.2 kB / 1.315 GB, free: 9.031 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.944e-05/0.3737, allocations: 180.3 kB / 1.316 GB, free: 8.848 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.901e-05/0.3738, allocations: 180.2 kB / 1.316 GB, free: 8.664 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.709e-05/0.3739, allocations: 184.3 kB / 1.316 GB, free: 8.477 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.3741, allocations: 311.7 kB / 1.316 GB, free: 8.148 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.3741, allocations: 104.9 kB / 1.316 GB, free: 8.039 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.3743, allocations: 180.2 kB / 1.317 GB, free: 7.855 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.3743, allocations: 109 kB / 1.317 GB, free: 7.742 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.3744, allocations: 180.2 kB / 1.317 GB, free: 7.559 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/0.3745, allocations: 108.9 kB / 1.317 GB, free: 7.445 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.953e-05/0.3745, allocations: 83.28 kB / 1.317 GB, free: 7.363 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3745, allocations: 0 / 1.317 GB, free: 7.363 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003437/0.3749, allocations: 55.8 kB / 1.317 GB, free: 7.309 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (0):
 * Single equations (assignments): 0
 * 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 Backend phase and start with SimCode phase: time 0.0007019/0.3756, allocations: 346 kB / 1.317 GB, free: 7 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001114/0.3757, allocations: 15.94 kB / 1.317 GB, free: 6.984 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3757, allocations: 0 / 1.317 GB, free: 6.984 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.3757, allocations: 3.938 kB / 1.317 GB, free: 6.98 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.3761, allocations: 459.6 kB / 1.318 GB, free: 6.527 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.3764, allocations: 177.6 kB / 1.318 GB, free: 6.328 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3768, allocations: 0.6729 MB / 1.319 GB, free: 5.629 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.209e-05/0.3768, allocations: 7.984 kB / 1.319 GB, free: 5.621 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.3768, allocations: 7.438 kB / 1.319 GB, free: 5.613 MB / 1.014 GB
Notification: Performance of SimCode: time 3.11e-07/0.3768, allocations: 0 / 1.319 GB, free: 5.613 MB / 1.014 GB
Notification: Performance of Templates: time 0.005116/0.3819, allocations: 1.613 MB / 1.32 GB, free: 4.02 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.095740017481148]