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.006526/0.006526, allocations: 97.34 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.001257/0.001257, allocations: 194.5 kB / 16.68 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.449/1.449, 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.599/2.599, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.047, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002156/1.05, allocations: 1.272 MB / 1.168 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002049/1.052, allocations: 1.435 MB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/1.052, allocations: 3.938 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/1.052, allocations: 0 / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/1.052, allocations: 19.91 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/1.053, allocations: 211.3 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.533e-05/1.053, allocations: 23.92 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/1.053, allocations: 4 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/1.053, allocations: 27.91 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/1.053, allocations: 7.938 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/1.053, allocations: 4 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/1.053, allocations: 167.8 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/1.053, allocations: 8 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/1.053, allocations: 11.94 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/1.054, allocations: 144.1 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/1.054, allocations: 0 / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.302e-06/1.054, allocations: 0 / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.1e-06/1.054, allocations: 4 kB / 1.17 GB, free: 492 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.0003863/1.054, allocations: 371 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.054, allocations: 12.92 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/1.054, allocations: 76.22 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/1.054, allocations: 247.7 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/1.054, allocations: 150.9 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/1.054, allocations: 162.7 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.825e-05/1.055, allocations: 104.9 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/1.055, allocations: 75.28 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/1.055, allocations: 150.6 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-05/1.055, allocations: 158.5 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.029e-05/1.055, allocations: 150.6 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/1.055, allocations: 449.9 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.733e-05/1.055, allocations: 181.1 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/1.055, allocations: 88.08 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/1.055, allocations: 75.28 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/1.055, allocations: 105.9 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/1.055, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.224e-05/1.055, allocations: 37.66 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/1.055, allocations: 126.7 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/1.056, allocations: 105.8 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/1.056, allocations: 33.64 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/1.056, allocations: 84.14 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/1.056, allocations: 0 / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/1.056, allocations: 21.72 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.056, allocations: 314.8 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/1.056, allocations: 0 / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/1.056, allocations: 34.56 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/1.056, allocations: 22.52 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.056, allocations: 0 / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001281/1.056, allocations: 57.56 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/1.056, allocations: 4 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/1.056, allocations: 4.234 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/1.056, allocations: 4 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/1.056, allocations: 7.984 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.056, allocations: 0 / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/1.056, allocations: 7.984 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/1.056, allocations: 4 kB / 1.173 GB, free: 12.88 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.0001038/1.057, allocations: 193 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/1.057, allocations: 116.8 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/1.057, allocations: 112.2 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-05/1.057, allocations: 180.5 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.148e-05/1.057, allocations: 184.2 kB / 1.174 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.594e-05/1.057, allocations: 184.3 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/1.057, allocations: 405.1 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/1.057, allocations: 116.9 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/1.057, allocations: 101 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.474e-05/1.057, allocations: 180.2 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/1.057, allocations: 176.3 kB / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-05/1.057, allocations: 188.2 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.796e-05/1.057, allocations: 176.3 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/1.058, allocations: 315.7 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/1.058, allocations: 182.1 kB / 1.176 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/1.058, allocations: 180.2 kB / 1.176 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/1.058, allocations: 105 kB / 1.176 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/1.058, allocations: 184.3 kB / 1.176 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/1.058, allocations: 104.9 kB / 1.176 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.709e-05/1.058, allocations: 83.27 kB / 1.176 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.058, allocations: 0 / 1.176 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003077/1.058, allocations: 55.8 kB / 1.176 GB, free: 9.199 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.0005604/1.059, allocations: 349.8 kB / 1.177 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.407e-05/1.059, allocations: 15.94 kB / 1.177 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.059, allocations: 0 / 1.177 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/1.059, allocations: 0 / 1.177 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/1.059, allocations: 460.8 kB / 1.177 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/1.06, allocations: 173.5 kB / 1.177 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/1.06, allocations: 0.6806 MB / 1.178 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.277e-05/1.06, allocations: 0 / 1.178 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.426e-05/1.06, allocations: 11.44 kB / 1.178 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/1.06, allocations: 0 / 1.178 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of Templates: time 0.004201/1.064, allocations: 1.612 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