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.001369/0.001369, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002895/0.002895, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.577/1.577, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.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.95/2.95, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 64.09 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7628/0.7648, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002707/0.7675, allocations: 1.334 MB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.7702, allocations: 1.417 MB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.7702, allocations: 3.938 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.7703, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.7705, allocations: 11.98 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.7712, allocations: 203.3 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.272e-05/0.7713, allocations: 23.92 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.7713, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.252e-05/0.7714, allocations: 15.97 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.7715, allocations: 11.94 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.7716, allocations: 4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.7718, allocations: 143.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.7719, allocations: 11.98 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.7719, allocations: 11.94 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.7722, allocations: 139.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7722, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.507e-06/0.7722, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.7722, allocations: 3.938 kB / 1.02 GB, free: 15.35 MB / 0.7794 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.0004262/0.7726, allocations: 361.4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7727, allocations: 12.03 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.915e-05/0.7728, allocations: 80.16 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.773, allocations: 243.7 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.17e-05/0.773, allocations: 158.9 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/0.7731, allocations: 158.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.841e-05/0.7732, allocations: 105 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.7733, allocations: 79.22 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.7733, allocations: 150.6 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.257e-05/0.7734, allocations: 154.6 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.7735, allocations: 154.5 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.7739, allocations: 457.9 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.774, allocations: 173.1 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.7741, allocations: 88.08 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.7741, allocations: 75.28 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.7742, allocations: 105.8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.7742, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.586e-05/0.7743, allocations: 37.55 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.7744, allocations: 126.7 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.7746, allocations: 105.8 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.7746, allocations: 33.7 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.7747, allocations: 84.12 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.7747, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.7747, allocations: 21.72 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.7749, allocations: 314.8 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.7749, allocations: 48 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.498e-05/0.775, allocations: 30.56 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.775, allocations: 30.52 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.775, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001654/0.7752, allocations: 57.56 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.7752, allocations: 4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7752, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.7753, allocations: 8.094 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.7753, allocations: 4 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.7754, allocations: 0 / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.7755, allocations: 7.984 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.7755, allocations: 8 kB / 1.023 GB, free: 11.75 MB / 0.7794 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.0001135/0.7757, allocations: 185.1 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.359e-05/0.7758, allocations: 112.8 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/0.7758, allocations: 108.1 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001638/0.776, allocations: 188.2 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.76e-05/0.7761, allocations: 180.2 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.422e-05/0.7762, allocations: 188.1 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.7766, allocations: 405.2 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.094e-05/0.7766, allocations: 105 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.7767, allocations: 108.9 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-05/0.7768, allocations: 176.3 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.7769, allocations: 180.3 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-05/0.777, allocations: 184.5 kB / 1.025 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.453e-05/0.7771, allocations: 184.2 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.7774, allocations: 311.8 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.7775, allocations: 186 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.45e-05/0.7776, allocations: 180.5 kB / 1.026 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.7777, allocations: 109 kB / 1.026 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.7779, allocations: 188.2 kB / 1.026 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.7779, allocations: 101 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001361/0.7781, allocations: 83.27 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7781, allocations: 0 / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003746/0.7785, allocations: 51.98 kB / 1.027 GB, free: 8.082 MB / 0.7794 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.0007596/0.7792, allocations: 336.4 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.12e-05/0.7793, allocations: 15.94 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7793, allocations: 0 / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.7793, allocations: 0 / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.7797, allocations: 463.6 kB / 1.027 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.78, allocations: 173.5 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.7804, allocations: 0.6768 MB / 1.028 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.7804, allocations: 3.938 kB / 1.028 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.7805, allocations: 11.44 kB / 1.028 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7805, allocations: 0 / 1.028 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of Templates: time 0.004664/0.7851, allocations: 1.615 MB / 1.03 GB, free: 4.801 MB / 0.7794 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=400 -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