Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_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.0008977/0.0008977, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005169/0.005169, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.179/1.179, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.36/2.36, allocations: 462.7 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002799, allocations: 11.88 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2299, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001142/0.2311, allocations: 1.002 MB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2329, allocations: 1.421 MB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.233, allocations: 0 / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.233, allocations: 0 / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.2331, allocations: 7.938 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.2336, allocations: 186.8 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.633e-05/0.2337, allocations: 23.91 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.2337, allocations: 7.938 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.2338, allocations: 19.88 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.923e-05/0.2339, allocations: 15.97 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.2339, allocations: 0 / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.2341, allocations: 143.8 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.2341, allocations: 11.97 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.2342, allocations: 37.64 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.2344, allocations: 139.8 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2344, allocations: 4 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2344, allocations: 0 / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.2344, allocations: 4 kB / 1.062 GB, free: 1.887 MB / 0.8106 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.0003029/0.2347, allocations: 355.8 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2348, allocations: 12.03 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.2348, allocations: 106 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.2349, allocations: 80.16 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.235, allocations: 247.6 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.2351, allocations: 158.9 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.2351, allocations: 162.5 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.473e-05/0.2352, allocations: 105 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.2352, allocations: 75.28 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.2352, allocations: 150.6 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.2353, allocations: 150.6 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.045e-05/0.2353, allocations: 162.5 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.2356, allocations: 457.9 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.177e-05/0.2356, allocations: 169.1 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.2357, allocations: 80.14 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.2357, allocations: 75.28 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2357, allocations: 109.8 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2357, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.114e-05/0.2358, allocations: 37.64 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.2359, allocations: 130.7 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.2359, allocations: 101.9 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.236, allocations: 25.7 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.236, allocations: 84.12 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.236, allocations: 4 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.236, allocations: 21.7 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.944e-05/0.2361, allocations: 310.8 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.2361, allocations: 0 / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.2362, allocations: 30.56 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.2362, allocations: 26.52 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2362, allocations: 0 / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001022/0.2363, allocations: 57.56 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.2363, allocations: 7.938 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2364, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.2364, allocations: 4 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.17e-05/0.2364, allocations: 4 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.2364, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.2366, allocations: 16.23 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.2366, allocations: 4 kB / 1.065 GB, free: 14.18 MB / 0.8262 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.171e-05/0.2367, allocations: 196.9 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.2367, allocations: 112.9 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.2368, allocations: 108.1 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.726e-05/0.2368, allocations: 180.2 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.324e-05/0.2369, allocations: 180.3 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.577e-05/0.2369, allocations: 184.3 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.2371, allocations: 405.1 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/0.2371, allocations: 105 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.2372, allocations: 104.9 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.831e-05/0.2372, allocations: 188.3 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.2373, allocations: 180.2 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-05/0.2373, allocations: 184.2 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.644e-05/0.2374, allocations: 176.3 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.2375, allocations: 315.9 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.2376, allocations: 182.1 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.2376, allocations: 180.2 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-05/0.2377, allocations: 105 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.2377, allocations: 184.2 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.2378, allocations: 105 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.221e-05/0.2378, allocations: 83.28 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2378, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002775/0.2381, allocations: 51.98 kB / 1.068 GB, free: 10.52 MB / 0.8262 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.0006544/0.2388, allocations: 0.9721 MB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.916e-05/0.2388, allocations: 19.98 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2388, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.2388, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.2392, allocations: 0.5185 MB / 1.07 GB, free: 9.02 MB / 0.8262 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.0008553/0.24, allocations: 1.354 MB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.2402, allocations: 0.6731 MB / 1.072 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.221e-05/0.2402, allocations: 8.016 kB / 1.072 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.2403, allocations: 11.44 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2403, allocations: 0 / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.244/4.484, allocations: 2.408 MB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/4.485, allocations: 284 kB / 1.075 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/6.625, allocations: 0 / 1.075 GB, free: 4.266 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches