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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 108.3 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.91 kB / 1.104 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8056/0.8077, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002668/0.8104, allocations: 1.268 MB / 1.27 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.8127, allocations: 1.461 MB / 1.271 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.8128, allocations: 0 / 1.271 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.8128, allocations: 0 / 1.271 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.813, allocations: 19.91 kB / 1.271 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.8136, allocations: 217.7 kB / 1.272 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.217e-05/0.8137, allocations: 23.92 kB / 1.272 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.8137, allocations: 4 kB / 1.272 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.088e-05/0.8138, allocations: 15.92 kB / 1.272 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.8139, allocations: 15.92 kB / 1.272 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.814, allocations: 0 / 1.272 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.8142, allocations: 175.8 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.8143, allocations: 0 / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.8143, allocations: 11.94 kB / 1.272 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.8145, allocations: 153.4 kB / 1.272 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8145, allocations: 0 / 1.272 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8145, allocations: 0 / 1.272 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.8145, allocations: 3.938 kB / 1.272 GB, free: 1.781 MB / 0.9669 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.0004501/0.815, allocations: 371 kB / 1.272 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.815, allocations: 12.03 kB / 1.272 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.514e-05/0.8151, allocations: 110 kB / 1.272 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.8152, allocations: 80.22 kB / 1.273 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.8154, allocations: 239.7 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.8155, allocations: 150.9 kB / 1.273 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.512e-05/0.8155, allocations: 162.4 kB / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.824e-05/0.8156, allocations: 101 kB / 1.273 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.8157, allocations: 79.28 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.309e-05/0.8157, allocations: 154.6 kB / 1.273 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.877e-05/0.8158, allocations: 154.5 kB / 1.274 GB, free: 96 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.638e-05/0.8159, allocations: 150.6 kB / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.8162, allocations: 453.9 kB / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.8163, allocations: 185 kB / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.8164, allocations: 80.14 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.8164, allocations: 83.27 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.519e-05/0.8165, allocations: 105.9 kB / 1.275 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.8165, allocations: 0 / 1.275 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.701e-05/0.8166, allocations: 41.64 kB / 1.275 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.8167, allocations: 126.7 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.8168, allocations: 101.8 kB / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.8168, allocations: 29.7 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.8168, allocations: 80.14 kB / 1.275 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.8168, allocations: 0 / 1.275 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.8169, allocations: 25.7 kB / 1.275 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.817, allocations: 314.8 kB / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.817, allocations: 4 kB / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-05/0.8171, allocations: 26.56 kB / 1.275 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.456e-05/0.8171, allocations: 26.52 kB / 1.275 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8171, allocations: 0 / 1.275 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000137/0.8173, allocations: 61.56 kB / 1.275 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.8173, allocations: 4 kB / 1.275 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8173, allocations: 0 / 1.275 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.8173, allocations: 4 kB / 1.275 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.8174, allocations: 4 kB / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.8174, allocations: 0 / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.8175, allocations: 16.12 kB / 1.275 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.8175, allocations: 4 kB / 1.275 GB, free: 14.05 MB / 0.9825 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.0001196/0.8176, allocations: 193.7 kB / 1.276 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.8177, allocations: 108.9 kB / 1.276 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.871e-05/0.8178, allocations: 112.1 kB / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-05/0.8179, allocations: 188.2 kB / 1.276 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.174e-05/0.8179, allocations: 176.3 kB / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-05/0.818, allocations: 180.3 kB / 1.276 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.8183, allocations: 413.1 kB / 1.277 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.821e-05/0.8183, allocations: 105 kB / 1.277 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.8184, allocations: 104.9 kB / 1.277 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.557e-05/0.8185, allocations: 180.2 kB / 1.277 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.404e-05/0.8186, allocations: 184.2 kB / 1.277 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.69e-05/0.8186, allocations: 188.2 kB / 1.277 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-05/0.8187, allocations: 176.3 kB / 1.278 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.8189, allocations: 315.7 kB / 1.278 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.819, allocations: 178.1 kB / 1.278 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.8191, allocations: 184.2 kB / 1.278 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.8192, allocations: 105 kB / 1.278 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.201e-05/0.8193, allocations: 180.2 kB / 1.279 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.8193, allocations: 105 kB / 1.279 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.97e-05/0.8194, allocations: 83.28 kB / 1.279 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8194, allocations: 0 / 1.279 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003426/0.8197, allocations: 55.8 kB / 1.279 GB, free: 10.39 MB / 0.9825 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.001009/0.8207, allocations: 0.9689 MB / 1.28 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.561e-05/0.8208, allocations: 11.98 kB / 1.28 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8208, allocations: 0 / 1.28 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.8208, allocations: 192 / 1.28 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.8212, allocations: 463.6 kB / 1.28 GB, free: 8.961 MB / 0.9825 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.001303/0.8225, allocations: 1.357 MB / 1.281 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.8229, allocations: 0.6767 MB / 1.282 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.8229, allocations: 0 / 1.282 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.8229, allocations: 15.42 kB / 1.282 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.8229, allocations: 0 / 1.282 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.076/1.899, allocations: 2.657 MB / 1.285 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/10.11, allocations: 8.5 kB / 1.285 GB, free: 4.301 MB / 0.9825 GB " [Timeout remaining time 277] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 33.37319497205317]