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.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.001726/0.001726, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002183/0.002183, allocations: 213.9 kB / 23.03 MB, free: 4.922 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.514/1.514, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.854/2.854, allocations: 476.8 MB / 0.7715 GB, free: 3.883 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_11_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: 63.39 kB / 1.118 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3897, allocations: 169.9 MB / 1.284 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003728/0.3935, allocations: 1.286 MB / 1.285 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004118/0.3976, allocations: 1.525 MB / 1.287 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/0.3977, allocations: 0 / 1.287 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.3977, allocations: 0 / 1.287 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.3981, allocations: 19.92 kB / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3992, allocations: 208.2 kB / 1.287 GB, free: 348 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.3993, allocations: 27.92 kB / 1.287 GB, free: 320 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.418e-05/0.3994, allocations: 0 / 1.287 GB, free: 320 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.3996, allocations: 27.91 kB / 1.287 GB, free: 292 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.3996, allocations: 9.828 kB / 1.287 GB, free: 284 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.3997, allocations: 0 / 1.287 GB, free: 284 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.4001, allocations: 171.7 kB / 1.287 GB, free: 112 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.4001, allocations: 0 / 1.287 GB, free: 112 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.4001, allocations: 19.92 kB / 1.287 GB, free: 92 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.4006, allocations: 139.9 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4006, allocations: 3.938 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4006, allocations: 0 / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4006, allocations: 0 / 1.287 GB, free: 15.95 MB / 0.9981 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.0005014/0.4011, allocations: 286 kB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.4011, allocations: 8.031 kB / 1.288 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.628e-05/0.4012, allocations: 75.47 kB / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.13e-05/0.4013, allocations: 110 kB / 1.288 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.4014, allocations: 80.17 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.4016, allocations: 197.8 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.4017, allocations: 154.7 kB / 1.288 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.079e-05/0.4018, allocations: 154.6 kB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.4019, allocations: 105 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.442e-05/0.4019, allocations: 79.28 kB / 1.289 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.402, allocations: 158.6 kB / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.792e-05/0.4021, allocations: 154.5 kB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.249e-05/0.4022, allocations: 154.5 kB / 1.289 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.4026, allocations: 425 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.4027, allocations: 169.1 kB / 1.29 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.4028, allocations: 80.14 kB / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.4028, allocations: 87.22 kB / 1.29 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.369e-05/0.4029, allocations: 109.8 kB / 1.29 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4029, allocations: 0 / 1.29 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001139/0.403, allocations: 29.64 kB / 1.29 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.4031, allocations: 130.7 kB / 1.29 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.4033, allocations: 105.8 kB / 1.29 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.4033, allocations: 29.7 kB / 1.29 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.4034, allocations: 84.14 kB / 1.29 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.4034, allocations: 0 / 1.29 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.4034, allocations: 21.7 kB / 1.29 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4036, allocations: 318.8 kB / 1.291 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.4036, allocations: 0 / 1.291 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.4038, allocations: 103.7 kB / 1.291 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.655e-05/0.4038, allocations: 30.56 kB / 1.291 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.4039, allocations: 3.938 kB / 1.291 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001787/0.404, allocations: 53.58 kB / 1.291 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4041, allocations: 4 kB / 1.291 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4041, allocations: 8.094 kB / 1.291 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4041, allocations: 3.938 kB / 1.291 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.4042, allocations: 4 kB / 1.291 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4042, allocations: 7.969 kB / 1.291 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.4043, allocations: 8 kB / 1.291 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.4043, allocations: 4 kB / 1.291 GB, free: 12.25 MB / 0.9981 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.000165/0.4045, allocations: 197 kB / 1.291 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.4046, allocations: 105 kB / 1.291 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.4047, allocations: 104.1 kB / 1.291 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001011/0.4048, allocations: 184.2 kB / 1.291 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.738e-05/0.4049, allocations: 180.3 kB / 1.292 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/0.405, allocations: 184.2 kB / 1.292 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.4052, allocations: 376.2 kB / 1.292 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.881e-05/0.4053, allocations: 105 kB / 1.292 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.4054, allocations: 104.9 kB / 1.292 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.004e-05/0.4055, allocations: 184.2 kB / 1.292 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.4056, allocations: 184.2 kB / 1.293 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.214e-05/0.4056, allocations: 176.5 kB / 1.293 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.003e-05/0.4057, allocations: 180.2 kB / 1.293 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.4059, allocations: 319.7 kB / 1.293 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.406, allocations: 112.9 kB / 1.293 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.8e-05/0.4061, allocations: 184.3 kB / 1.294 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4062, allocations: 101 kB / 1.294 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4063, allocations: 184.2 kB / 1.294 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.4063, allocations: 109 kB / 1.294 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.4064, allocations: 79.28 kB / 1.294 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4064, allocations: 0 / 1.294 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003695/0.4068, allocations: 51.8 kB / 1.294 GB, free: 8.719 MB / 0.9981 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.001186/0.408, allocations: 0.9718 MB / 1.295 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4081, allocations: 19.98 kB / 1.295 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4081, allocations: 0 / 1.295 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.868e-06/0.4081, allocations: 3.938 kB / 1.295 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.4085, allocations: 459.6 kB / 1.295 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.4099, allocations: 1.35 MB / 1.297 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.41, allocations: 55.41 kB / 1.297 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.41, allocations: 4.234 kB / 1.297 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.4101, allocations: 19.42 kB / 1.297 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.4101, allocations: 0 / 1.297 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.4398, allocations: 2.793 MB / 1.3 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.12, allocations: 10.48 kB / 1.3 GB, free: 3.121 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 18.984586079022847]