Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 192.3 kB / 16.13 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 461.9 MB / 0.7342 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.44 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3614, allocations: 157.4 MB / 1.052 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002483/0.3639, allocations: 1.343 MB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.366, allocations: 1.436 MB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.366, allocations: 0 / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.3661, allocations: 0 / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.3663, allocations: 23.91 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.3668, allocations: 166.9 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.3669, allocations: 31.91 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.3669, allocations: 4 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.803e-05/0.367, allocations: 23.86 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3671, allocations: 7.984 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.3672, allocations: 0 / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.3674, allocations: 155.8 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.3674, allocations: 3.984 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.3675, allocations: 7.938 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.3677, allocations: 143.8 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3677, allocations: 3.984 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3677, allocations: 4 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3677, allocations: 0 / 1.055 GB, free: 5.539 MB / 0.8106 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.0004303/0.3682, allocations: 359.8 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3682, allocations: 12.02 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.535e-05/0.3683, allocations: 80.22 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3685, allocations: 243.6 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.093e-05/0.3686, allocations: 154.9 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.3686, allocations: 170.6 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.374e-05/0.3687, allocations: 108.9 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.3687, allocations: 79.28 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.3688, allocations: 150.6 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/0.3688, allocations: 154.6 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.748e-05/0.3689, allocations: 154.6 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.3692, allocations: 457.9 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.832e-05/0.3693, allocations: 169.1 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.3693, allocations: 84.08 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3693, allocations: 75.28 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.3694, allocations: 113.8 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.3694, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.839e-05/0.3695, allocations: 29.7 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.3695, allocations: 126.7 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3696, allocations: 109.8 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3697, allocations: 25.7 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.3697, allocations: 80.14 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-06/0.3697, allocations: 8 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.3698, allocations: 21.7 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3699, allocations: 314.8 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.3699, allocations: 4 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.67e-05/0.37, allocations: 22.56 kB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.488e-05/0.37, allocations: 34.52 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.37, allocations: 0 / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001354/0.3702, allocations: 53.56 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3702, allocations: 4 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3702, allocations: 4 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3702, allocations: 0 / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/0.3703, allocations: 4 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3703, allocations: 0 / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.3704, allocations: 15.98 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3705, allocations: 4 kB / 1.059 GB, free: 1.934 MB / 0.8106 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 8.508e-05/0.3706, allocations: 185.1 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.3706, allocations: 112.9 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.3707, allocations: 112 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.732e-05/0.3707, allocations: 180.3 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.778e-05/0.3708, allocations: 184.2 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-05/0.3709, allocations: 176.3 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.3711, allocations: 413.1 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/0.3711, allocations: 101 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.3711, allocations: 101 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.937e-05/0.3712, allocations: 188.2 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/0.3713, allocations: 188.4 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-05/0.3713, allocations: 184.5 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-05/0.3714, allocations: 180.3 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.3715, allocations: 315.7 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/0.3716, allocations: 182.1 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.3717, allocations: 184.2 kB / 1.061 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.3717, allocations: 101 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.3718, allocations: 176.3 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.3719, allocations: 108.9 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.957e-05/0.3719, allocations: 91.27 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3719, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003136/0.3722, allocations: 55.92 kB / 1.062 GB, free: 14.27 MB / 0.8262 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.0005989/0.3728, allocations: 343.6 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.962e-05/0.3729, allocations: 7.938 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.373, allocations: 0 / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-06/0.373, allocations: 4.188 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.3734, allocations: 0.5271 MB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.3736, allocations: 171.1 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.3739, allocations: 0.6731 MB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.3739, allocations: 4 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.3739, allocations: 19.36 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3739, allocations: 0 / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.004314/0.3782, allocations: 1.6 MB / 1.065 GB, free: 10.92 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches