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.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.001258/0.001258, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001492/0.001492, allocations: 219.7 kB / 23.03 MB, free: 4.949 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.243/3.243, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="cs",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.002028/0.002028, allocations: 70.52 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3857, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002925/0.3886, allocations: 1.285 MB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002858/0.3915, allocations: 1.524 MB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.3915, allocations: 0 / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.3915, allocations: 3.938 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.3918, allocations: 15.86 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/0.3925, allocations: 218.4 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.3925, allocations: 31.84 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.3926, allocations: 0 / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3927, allocations: 23.92 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.354e-05/0.3928, allocations: 7.984 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.3928, allocations: 4 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.3931, allocations: 151.9 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.3931, allocations: 11.92 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.3931, allocations: 7.938 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.3934, allocations: 143.9 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3934, allocations: 0 / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3934, allocations: 0 / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3934, allocations: 0 / 1.349 GB, free: 12.55 MB / 1.045 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.0003812/0.3938, allocations: 301.9 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3938, allocations: 8.031 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.569e-05/0.3939, allocations: 79.47 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/0.3939, allocations: 110 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.394, allocations: 80.22 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.3942, allocations: 185.8 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.367e-05/0.3943, allocations: 158.7 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-05/0.3944, allocations: 154.6 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.689e-05/0.3944, allocations: 104.9 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.3945, allocations: 79.28 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.3945, allocations: 150.6 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.3946, allocations: 150.6 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.412e-05/0.3947, allocations: 150.6 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.395, allocations: 429 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3951, allocations: 181 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.017e-05/0.3951, allocations: 80.14 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.3952, allocations: 75.28 kB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.78e-05/0.3952, allocations: 109.8 kB / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3952, allocations: 0 / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.339e-05/0.3953, allocations: 29.66 kB / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/0.3954, allocations: 138.6 kB / 1.351 GB, free: 9.688 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3955, allocations: 105.8 kB / 1.351 GB, free: 9.574 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3955, allocations: 29.7 kB / 1.351 GB, free: 9.539 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.3956, allocations: 80.14 kB / 1.351 GB, free: 9.457 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.3956, allocations: 4 kB / 1.351 GB, free: 9.453 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.3956, allocations: 25.7 kB / 1.351 GB, free: 9.422 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3958, allocations: 310.8 kB / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.3958, allocations: 0 / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.373e-05/0.3959, allocations: 107.7 kB / 1.352 GB, free: 8.977 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.3959, allocations: 26.56 kB / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3959, allocations: 3.938 kB / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001324/0.396, allocations: 53.62 kB / 1.352 GB, free: 8.879 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3961, allocations: 4 kB / 1.352 GB, free: 8.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3961, allocations: 4.141 kB / 1.352 GB, free: 8.871 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3961, allocations: 3.938 kB / 1.352 GB, free: 8.867 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.3961, allocations: 11.97 kB / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3962, allocations: 0 / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.3963, allocations: 12 kB / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3963, allocations: 4 kB / 1.352 GB, free: 8.84 MB / 1.045 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.0001245/0.3964, allocations: 193 kB / 1.352 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/0.3965, allocations: 113 kB / 1.352 GB, free: 8.523 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.024e-05/0.3966, allocations: 115.9 kB / 1.352 GB, free: 8.398 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.738e-05/0.3967, allocations: 176.3 kB / 1.353 GB, free: 8.219 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.089e-05/0.3968, allocations: 180.2 kB / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.639e-05/0.3968, allocations: 184.2 kB / 1.353 GB, free: 7.848 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.3971, allocations: 380.4 kB / 1.353 GB, free: 7.426 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-05/0.3972, allocations: 101 kB / 1.353 GB, free: 7.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.3972, allocations: 109 kB / 1.353 GB, free: 7.207 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.501e-05/0.3973, allocations: 180.2 kB / 1.354 GB, free: 7.023 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.019e-05/0.3974, allocations: 180.3 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.127e-05/0.3974, allocations: 180.2 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.683e-05/0.3975, allocations: 184.3 kB / 1.354 GB, free: 6.469 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.3977, allocations: 311.7 kB / 1.354 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.3977, allocations: 101 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/0.3978, allocations: 192.2 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.3979, allocations: 101 kB / 1.355 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.343e-05/0.398, allocations: 188.1 kB / 1.355 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.3981, allocations: 105 kB / 1.355 GB, free: 5.434 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.614e-05/0.3981, allocations: 83.28 kB / 1.355 GB, free: 5.352 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3981, allocations: 0 / 1.355 GB, free: 5.352 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003252/0.3984, allocations: 47.8 kB / 1.355 GB, free: 5.305 MB / 1.045 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.001104/0.3996, allocations: 0.9828 MB / 1.356 GB, free: 4.336 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.3997, allocations: 11.98 kB / 1.356 GB, free: 4.324 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3997, allocations: 0 / 1.356 GB, free: 4.324 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3997, allocations: 0 / 1.356 GB, free: 4.324 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.4002, allocations: 460.4 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.4017, allocations: 1.349 MB / 1.358 GB, free: 2.43 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.907e-05/0.4017, allocations: 63.61 kB / 1.358 GB, free: 2.348 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.4017, allocations: 0 / 1.358 GB, free: 2.348 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.4018, allocations: 15.42 kB / 1.358 GB, free: 2.332 MB / 1.045 GB Notification: Performance of SimCode: time 6.41e-07/0.4018, allocations: 0 / 1.358 GB, free: 2.332 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.4274, allocations: 2.796 MB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.72, allocations: 15.88 kB / 1.361 GB, free: 15.7 MB / 1.061 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.518802876002155]