Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_11_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_11_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.007581/0.007581, allocations: 100 kB / 15.73 MB, free: 6.062 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.001462/0.001462, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.73/2.73, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 71.89 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9543/0.9557, allocations: 159.1 MB / 1.221 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002957/0.9587, allocations: 1.27 MB / 1.222 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.9612, allocations: 1.449 MB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.9612, allocations: 8 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.9612, allocations: 3.938 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.9614, allocations: 15.91 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006925/0.9621, allocations: 213.3 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.155e-05/0.9622, allocations: 23.92 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.9622, allocations: 0 / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.9623, allocations: 27.91 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.9624, allocations: 7.938 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.9625, allocations: 0 / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.9628, allocations: 171.8 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.9628, allocations: 0 / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.9628, allocations: 15.92 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.9631, allocations: 148.2 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.9631, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9631, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.9631, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9512 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.0003816/0.9635, allocations: 375 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.9635, allocations: 8.031 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.9636, allocations: 80.22 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.9637, allocations: 239.7 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.9638, allocations: 162.9 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.9639, allocations: 154.7 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.105e-05/0.9639, allocations: 104.9 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.9639, allocations: 75.28 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.964, allocations: 154.6 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/0.964, allocations: 154.5 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.686e-05/0.9641, allocations: 154.6 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.9644, allocations: 465.8 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.757e-05/0.9644, allocations: 169.1 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.9645, allocations: 88.06 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.9645, allocations: 79.28 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.9645, allocations: 109.9 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.9645, allocations: 0 / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.77e-05/0.9646, allocations: 29.7 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.9647, allocations: 126.7 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.9648, allocations: 105.8 kB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.9648, allocations: 33.7 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.9649, allocations: 88.08 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-06/0.9649, allocations: 0 / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.9649, allocations: 17.72 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.965, allocations: 318.8 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.965, allocations: 0 / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-05/0.9651, allocations: 34.55 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.9651, allocations: 26.52 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9651, allocations: 0 / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001427/0.9652, allocations: 53.56 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.9653, allocations: 8 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9653, allocations: 0 / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.9653, allocations: 0 / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.9653, allocations: 8.094 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.9654, allocations: 4 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.9655, allocations: 11.94 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.9655, allocations: 4 kB / 1.227 GB, free: 11.13 MB / 0.9512 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.000103/0.9656, allocations: 189.6 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.9657, allocations: 108.9 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.9657, allocations: 112.2 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.164e-05/0.9658, allocations: 188.2 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.114e-05/0.9658, allocations: 180.2 kB / 1.228 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.423e-05/0.9659, allocations: 176.3 kB / 1.228 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.9661, allocations: 413.1 kB / 1.228 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.9661, allocations: 104.9 kB / 1.229 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.9662, allocations: 105 kB / 1.229 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.326e-05/0.9663, allocations: 184.2 kB / 1.229 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/0.9663, allocations: 176.3 kB / 1.229 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.564e-05/0.9664, allocations: 184.2 kB / 1.229 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.119e-05/0.9664, allocations: 180.3 kB / 1.229 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.9666, allocations: 311.7 kB / 1.23 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.9666, allocations: 186.3 kB / 1.23 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.9667, allocations: 180.2 kB / 1.23 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.9668, allocations: 112.9 kB / 1.23 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.9668, allocations: 180.3 kB / 1.23 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.9669, allocations: 108.9 kB / 1.23 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.9669, allocations: 83.27 kB / 1.23 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.9669, allocations: 0 / 1.23 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003241/0.9672, allocations: 55.8 kB / 1.231 GB, free: 7.465 MB / 0.9512 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.0005672/0.9678, allocations: 344.5 kB / 1.231 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.9679, allocations: 11.94 kB / 1.231 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9679, allocations: 4.188 kB / 1.231 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.9679, allocations: 0 / 1.231 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.9683, allocations: 459.6 kB / 1.231 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.9685, allocations: 175.8 kB / 1.231 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.9688, allocations: 0.6767 MB / 1.232 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.9688, allocations: 4 kB / 1.232 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.9688, allocations: 11.44 kB / 1.232 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.9688, allocations: 0 / 1.232 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.004188/0.973, allocations: 1.611 MB / 1.234 GB, free: 4.176 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches