Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007259/0.007259, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001661/0.001661, allocations: 190.2 kB / 16.67 MB, free: 5.969 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.461/1.461, 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 10.1.1-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9446/0.9459, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002769/0.9487, allocations: 1.263 MB / 1.168 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00248/0.9512, allocations: 1.439 MB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.9513, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.9514, allocations: 3.938 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.9516, allocations: 23.91 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.9524, allocations: 207.4 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.058e-05/0.9525, allocations: 27.91 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.9526, allocations: 0 / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.9527, allocations: 19.98 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.9528, allocations: 15.92 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.9528, allocations: 0 / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.9532, allocations: 175.8 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.9532, allocations: 0 / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.9533, allocations: 11.94 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.9536, allocations: 144.1 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.9536, allocations: 3.984 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9536, allocations: 0 / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.9536, allocations: 0 / 1.17 GB, free: 488 kB / 0.8887 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.0004111/0.9541, allocations: 375 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.9541, allocations: 12.91 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.882e-05/0.9542, allocations: 84.22 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.9544, allocations: 235.7 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.9545, allocations: 154.9 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.9545, allocations: 154.7 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.88e-05/0.9546, allocations: 105 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.9546, allocations: 83.27 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.9547, allocations: 158.5 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.544e-05/0.9547, allocations: 154.5 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.9548, allocations: 150.6 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.9551, allocations: 453.9 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.693e-05/0.9552, allocations: 169.1 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.9553, allocations: 88.08 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.9553, allocations: 79.22 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.9553, allocations: 109.9 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.9554, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.412e-05/0.9554, allocations: 37.59 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.9555, allocations: 130.7 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.818e-05/0.9556, allocations: 105.8 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.9556, allocations: 25.7 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.9557, allocations: 88.14 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.9557, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.9557, allocations: 17.7 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.9559, allocations: 318.8 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.9559, allocations: 256 / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/0.9559, allocations: 34.5 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.355e-05/0.956, allocations: 26.58 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.956, allocations: 0 / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001305/0.9561, allocations: 53.56 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.9562, allocations: 12.09 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9562, allocations: 0 / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.9562, allocations: 0 / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.9563, allocations: 7.938 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.9563, allocations: 4 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.9565, allocations: 7.984 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.9565, allocations: 0 / 1.173 GB, free: 12.86 MB / 0.9044 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.000115/0.9566, allocations: 193.1 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.9567, allocations: 112.9 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.9567, allocations: 120.1 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.406e-05/0.9568, allocations: 176.3 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.989e-05/0.9569, allocations: 176.3 kB / 1.174 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.828e-05/0.957, allocations: 184.2 kB / 1.174 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.9572, allocations: 409.2 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.091e-05/0.9573, allocations: 108.9 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.9573, allocations: 105 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.032e-05/0.9574, allocations: 184.2 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.9575, allocations: 180.2 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.099e-05/0.9576, allocations: 176.3 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.36e-05/0.9576, allocations: 188.2 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.9578, allocations: 307.7 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.9579, allocations: 186.1 kB / 1.176 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.958, allocations: 176.3 kB / 1.176 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.9581, allocations: 108.9 kB / 1.176 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.9582, allocations: 180.3 kB / 1.176 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.9582, allocations: 104.9 kB / 1.176 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.9583, allocations: 87.27 kB / 1.176 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9583, allocations: 0 / 1.176 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003471/0.9586, allocations: 55.8 kB / 1.177 GB, free: 9.191 MB / 0.9044 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.000547/0.9592, allocations: 351 kB / 1.177 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.884e-05/0.9593, allocations: 12 kB / 1.177 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9593, allocations: 0 / 1.177 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.9593, allocations: 3.938 kB / 1.177 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.9597, allocations: 456.2 kB / 1.177 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.9599, allocations: 181.5 kB / 1.177 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.9602, allocations: 0.669 MB / 1.178 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.9602, allocations: 7.984 kB / 1.178 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.9602, allocations: 11.42 kB / 1.178 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.9602, allocations: 0 / 1.178 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of Templates: time 0.0043/0.9645, allocations: 1.595 MB / 1.18 GB, free: 5.91 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches