Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 218.2 kB / 22.25 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.143/3.143, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 69.39 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4063, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002465/0.4088, allocations: 1.289 MB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002517/0.4113, allocations: 1.524 MB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.4113, allocations: 3.938 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.4113, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.4116, allocations: 11.94 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.4122, allocations: 228.3 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.51e-05/0.4123, allocations: 19.94 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.4123, allocations: 7.969 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.4125, allocations: 16 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.546e-05/0.4125, allocations: 19.91 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.4125, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.4128, allocations: 155.8 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.4128, allocations: 3.984 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.4129, allocations: 11.98 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.4131, allocations: 143.9 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4131, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4131, allocations: 3.938 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.4131, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 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.0003941/0.4135, allocations: 293.9 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4136, allocations: 8.031 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.976e-05/0.4136, allocations: 114 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.4137, allocations: 76.22 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.4139, allocations: 185.8 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/0.414, allocations: 150.9 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.964e-05/0.414, allocations: 158.5 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.397e-05/0.4141, allocations: 105 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.4141, allocations: 75.28 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/0.4142, allocations: 158.5 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8e-05/0.4143, allocations: 158.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.4144, allocations: 154.6 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.4147, allocations: 421 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.4148, allocations: 177.1 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.4148, allocations: 80.14 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.4149, allocations: 79.22 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.191e-05/0.4149, allocations: 113.8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.4149, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.813e-05/0.415, allocations: 25.7 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.4151, allocations: 134.6 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.4152, allocations: 105.8 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.4152, allocations: 25.7 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.4153, allocations: 88.09 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.4153, allocations: 4 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.4153, allocations: 21.7 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4154, allocations: 318.8 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.4155, allocations: 4 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.616e-05/0.4156, allocations: 107.6 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.4156, allocations: 26.58 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4156, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000135/0.4157, allocations: 57.56 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4157, allocations: 4 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4158, allocations: 4 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4158, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.4158, allocations: 7.938 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4158, allocations: 0 / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.416, allocations: 7.984 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.416, allocations: 4 kB / 1.333 GB, free: 10.46 MB / 1.029 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.000118/0.4161, allocations: 193.1 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.4162, allocations: 109.1 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.446e-05/0.4163, allocations: 112.1 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.551e-05/0.4164, allocations: 180.3 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.856e-05/0.4164, allocations: 176.5 kB / 1.333 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.239e-05/0.4165, allocations: 180.2 kB / 1.333 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.4168, allocations: 384.2 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.497e-05/0.4168, allocations: 108.9 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.4169, allocations: 101 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.4169, allocations: 176.3 kB / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.417, allocations: 188.2 kB / 1.334 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.061e-05/0.4171, allocations: 180.2 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.462e-05/0.4172, allocations: 184.2 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.4174, allocations: 315.7 kB / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.4174, allocations: 105 kB / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.998e-05/0.4175, allocations: 184.3 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.4176, allocations: 104.9 kB / 1.335 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.4177, allocations: 176.3 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.4177, allocations: 104.9 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.4178, allocations: 91.27 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4178, allocations: 0 / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003481/0.4181, allocations: 55.73 kB / 1.336 GB, free: 6.914 MB / 1.029 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.0009974/0.4191, allocations: 0.9792 MB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.395e-05/0.4192, allocations: 11.94 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4192, allocations: 0 / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.4192, allocations: 0 / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.4196, allocations: 463.7 kB / 1.337 GB, free: 5.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.4208, allocations: 1.346 MB / 1.338 GB, free: 4.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.44e-05/0.4209, allocations: 63.59 kB / 1.339 GB, free: 3.961 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.4209, allocations: 11.84 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.4209, allocations: 7.438 kB / 1.339 GB, free: 3.941 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.4209, allocations: 4 kB / 1.339 GB, free: 3.938 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.4539, allocations: 3.164 MB / 1.342 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.54, allocations: 6.938 kB / 1.342 GB, free: 0.9297 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.222810086008394]