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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.174/1.174, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.228/2.228, allocations: 437.1 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.91 kB / 0.8694 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4966, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002101/0.4987, allocations: 1.262 MB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.5005, allocations: 1.444 MB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.5006, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.5006, allocations: 3.938 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.5008, allocations: 15.94 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.5013, allocations: 208.5 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.005e-05/0.5014, allocations: 27.92 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.5014, allocations: 7.984 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.959e-05/0.5015, allocations: 16 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.5016, allocations: 15.91 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.5016, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.5019, allocations: 147.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.5019, allocations: 7.984 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.5019, allocations: 15.92 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.5022, allocations: 139.7 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.5022, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5022, allocations: 4 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.5022, allocations: 4 kB / 1.021 GB, free: 15.12 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.0003197/0.5025, allocations: 371.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.5025, allocations: 12.03 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.5026, allocations: 106 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.5027, allocations: 76.22 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.5028, allocations: 247.6 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.5028, allocations: 154.9 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.5029, allocations: 162.5 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.099e-05/0.503, allocations: 108.9 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.503, allocations: 75.28 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.503, allocations: 150.6 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.5031, allocations: 150.6 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.5031, allocations: 154.6 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.5034, allocations: 457.8 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.733e-05/0.5034, allocations: 181 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.5035, allocations: 80.14 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.5035, allocations: 79.28 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.5035, allocations: 105.8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.5035, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.715e-05/0.5036, allocations: 33.69 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.5037, allocations: 126.7 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.5037, allocations: 105.8 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.5038, allocations: 29.69 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.5038, allocations: 92.12 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.5038, allocations: 3.938 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.5039, allocations: 21.72 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.5039, allocations: 314.9 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.504, allocations: 3.984 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.09e-05/0.504, allocations: 26.58 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.504, allocations: 22.58 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.5041, allocations: 7.984 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001062/0.5042, allocations: 53.52 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.5042, allocations: 4 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5042, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.5042, allocations: 4 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.5043, allocations: 12.08 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.5043, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.5044, allocations: 4.25 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.5044, allocations: 4 kB / 1.024 GB, free: 11.4 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 8.254e-05/0.5045, allocations: 193 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.5046, allocations: 108.9 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.5046, allocations: 112 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.745e-05/0.5047, allocations: 180.3 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-05/0.5047, allocations: 192.2 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.934e-05/0.5048, allocations: 184.2 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.505, allocations: 397.2 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-05/0.505, allocations: 112.9 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.505, allocations: 105 kB / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-05/0.5051, allocations: 184.2 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.5051, allocations: 176.3 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.442e-05/0.5052, allocations: 184.2 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.751e-05/0.5052, allocations: 176.3 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.5054, allocations: 315.7 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.5054, allocations: 182.1 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.5055, allocations: 188.2 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.5055, allocations: 101 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.5056, allocations: 176.3 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.5056, allocations: 112.9 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.5057, allocations: 79.28 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5057, allocations: 0 / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002804/0.506, allocations: 51.98 kB / 1.027 GB, free: 7.738 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.0006817/0.5067, allocations: 0.9793 MB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.018e-05/0.5067, allocations: 15.94 kB / 1.028 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.5067, allocations: 0 / 1.028 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.5067, allocations: 0 / 1.028 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.507, allocations: 455.7 kB / 1.029 GB, free: 6.309 MB / 0.7794 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009106/0.508, allocations: 1.349 MB / 1.03 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.5082, allocations: 0.6768 MB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.973e-05/0.5082, allocations: 0 / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.5082, allocations: 15.44 kB / 1.031 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5082, allocations: 3.938 kB / 1.031 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.517/1.025, allocations: 2.602 MB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.478/7.503, allocations: 4.391 kB / 1.033 GB, free: 1.688 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > 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/jenkins1/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