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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006307/0.006307, allocations: 96.56 kB / 15.73 MB, free: 6.004 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.001732/0.001732, allocations: 185.4 kB / 16.67 MB, free: 5.938 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.302/1.302, 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 12.0.0-master/package.mo): time 2.447/2.447, allocations: 482.6 MB / 0.755 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 69.27 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2724, allocations: 162.3 MB / 1.242 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002259/0.2747, allocations: 1.27 MB / 1.243 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.2768, allocations: 1.434 MB / 1.245 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.2768, allocations: 0 / 1.245 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.2768, allocations: 3.938 kB / 1.245 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.277, allocations: 19.91 kB / 1.245 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.2776, allocations: 215 kB / 1.245 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.114e-05/0.2777, allocations: 27.86 kB / 1.245 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.171e-05/0.2777, allocations: 4 kB / 1.245 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.05e-05/0.2778, allocations: 15.97 kB / 1.245 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.2779, allocations: 8 kB / 1.245 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.2779, allocations: 4 kB / 1.245 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.2782, allocations: 175.7 kB / 1.245 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.2782, allocations: 0 / 1.245 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.2782, allocations: 4 kB / 1.245 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.2785, allocations: 163.7 kB / 1.245 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2785, allocations: 3.984 kB / 1.245 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2785, allocations: 0 / 1.245 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2785, allocations: 0 / 1.245 GB, free: 5.625 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.000364/0.2789, allocations: 375 kB / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2789, allocations: 8.031 kB / 1.245 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.279, allocations: 114 kB / 1.246 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.2791, allocations: 76.22 kB / 1.246 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.2792, allocations: 235.7 kB / 1.246 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/0.2793, allocations: 154.9 kB / 1.246 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.2794, allocations: 154.5 kB / 1.246 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.908e-05/0.2794, allocations: 112.9 kB / 1.246 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.2795, allocations: 79.28 kB / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/0.2795, allocations: 150.6 kB / 1.247 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.914e-05/0.2796, allocations: 154.5 kB / 1.247 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.062e-05/0.2797, allocations: 150.6 kB / 1.247 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.28, allocations: 457.9 kB / 1.247 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.24e-05/0.2801, allocations: 181 kB / 1.247 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.2801, allocations: 88.14 kB / 1.247 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.2802, allocations: 75.28 kB / 1.248 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/0.2802, allocations: 105.8 kB / 1.248 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2802, allocations: 0 / 1.248 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.412e-05/0.2803, allocations: 37.66 kB / 1.248 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.2804, allocations: 126.7 kB / 1.248 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.2805, allocations: 101.8 kB / 1.248 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2805, allocations: 29.7 kB / 1.248 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.2806, allocations: 88.08 kB / 1.248 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.2806, allocations: 3.938 kB / 1.248 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.2806, allocations: 21.7 kB / 1.248 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2807, allocations: 318.8 kB / 1.248 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.2807, allocations: 0 / 1.248 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.2808, allocations: 30.55 kB / 1.248 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.712e-05/0.2808, allocations: 22.58 kB / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2809, allocations: 0 / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001193/0.281, allocations: 65.5 kB / 1.248 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.281, allocations: 4 kB / 1.248 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.281, allocations: 0 / 1.248 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.281, allocations: 0 / 1.248 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.2811, allocations: 8 kB / 1.248 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2811, allocations: 256 / 1.248 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.2812, allocations: 7.984 kB / 1.248 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.2813, allocations: 8 kB / 1.249 GB, free: 1.895 MB / 0.9669 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.0001054/0.2814, allocations: 197.6 kB / 1.249 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.2814, allocations: 108.9 kB / 1.249 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.2815, allocations: 112 kB / 1.249 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.735e-05/0.2816, allocations: 176.3 kB / 1.249 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.055e-05/0.2816, allocations: 180.2 kB / 1.249 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.328e-05/0.2817, allocations: 188.3 kB / 1.249 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.282, allocations: 401.2 kB / 1.25 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.252e-05/0.282, allocations: 108.9 kB / 1.25 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.282, allocations: 101 kB / 1.25 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.476e-05/0.2821, allocations: 188.2 kB / 1.25 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.149e-05/0.2822, allocations: 176.3 kB / 1.25 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-05/0.2823, allocations: 192.2 kB / 1.251 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-05/0.2824, allocations: 176.3 kB / 1.251 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.2825, allocations: 311.7 kB / 1.251 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.2826, allocations: 178.1 kB / 1.251 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.063e-05/0.2827, allocations: 184.2 kB / 1.251 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.2828, allocations: 105 kB / 1.251 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.2829, allocations: 176.3 kB / 1.252 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.2829, allocations: 112.9 kB / 1.252 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.342e-05/0.283, allocations: 79.28 kB / 1.252 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.283, allocations: 3.938 kB / 1.252 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002876/0.2833, allocations: 55.8 kB / 1.252 GB, free: 14.24 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.0008948/0.2842, allocations: 0.9673 MB / 1.253 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.68e-05/0.2843, allocations: 19.92 kB / 1.253 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2843, allocations: 0 / 1.253 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.2843, allocations: 4.188 kB / 1.253 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.2846, allocations: 458 kB / 1.253 GB, free: 12.81 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.001117/0.2858, allocations: 1.353 MB / 1.255 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.286, allocations: 0.6729 MB / 1.255 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.171e-05/0.2861, allocations: 4 kB / 1.255 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.2861, allocations: 11.42 kB / 1.255 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2861, allocations: 0 / 1.255 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 15.25/15.53, allocations: 2.636 MB / 1.258 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.003/24.54, allocations: 6.312 kB / 1.258 GB, free: 8.172 MB / 0.9825 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=400 --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