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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.518/2.518, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 64.08 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7907, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001937/0.7926, allocations: 1.293 MB / 1.273 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.7944, allocations: 1.519 MB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.7944, allocations: 0 / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.7944, allocations: 1.125 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.7946, allocations: 13.97 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.7951, allocations: 217.7 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.563e-05/0.7952, allocations: 23.7 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.7952, allocations: 4.906 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/0.7953, allocations: 22.08 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.7954, allocations: 12.64 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.7954, allocations: 0.9375 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.7956, allocations: 169.1 kB / 1.275 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.7957, allocations: 5.906 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.7957, allocations: 10.23 kB / 1.275 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.7959, allocations: 156.1 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7959, allocations: 4 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7959, allocations: 0 / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7959, allocations: 0.8438 kB / 1.275 GB, free: 5.496 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.000277/0.7962, allocations: 362.3 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.7962, allocations: 9.906 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.107e-05/0.7963, allocations: 106 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.7963, allocations: 80.42 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.155e-05/0.7964, allocations: 249.6 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.7964, allocations: 157.8 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.7964, allocations: 164.7 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.434e-05/0.7965, allocations: 102.1 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.7965, allocations: 75.28 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.7965, allocations: 151.5 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.7965, allocations: 154.6 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.7965, allocations: 151.3 kB / 1.276 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.7967, allocations: 455.3 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.458e-05/0.7967, allocations: 174 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.7968, allocations: 81.08 kB / 1.277 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.7968, allocations: 80.36 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.7968, allocations: 107.2 kB / 1.277 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.7968, allocations: 0 / 1.277 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.01e-05/0.7968, allocations: 31.34 kB / 1.277 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.7969, allocations: 134.6 kB / 1.277 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.7969, allocations: 106.8 kB / 1.278 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.7969, allocations: 30.7 kB / 1.278 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2e-05/0.797, allocations: 81.36 kB / 1.278 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.797, allocations: 1.094 kB / 1.278 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.797, allocations: 20.91 kB / 1.278 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.236e-05/0.797, allocations: 314.4 kB / 1.278 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.797, allocations: 1.562 kB / 1.278 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.7971, allocations: 27.86 kB / 1.278 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.7971, allocations: 31.89 kB / 1.278 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.7971, allocations: 0 / 1.278 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001014/0.7972, allocations: 49.42 kB / 1.278 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.7972, allocations: 8.578 kB / 1.278 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.7972, allocations: 0.8438 kB / 1.278 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.7972, allocations: 1.469 kB / 1.278 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.7973, allocations: 10.62 kB / 1.278 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.7973, allocations: 1.5 kB / 1.278 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.7974, allocations: 17.95 kB / 1.278 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.7974, allocations: 2.719 kB / 1.278 GB, free: 1.926 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 5.001e-05/0.7975, allocations: 193.5 kB / 1.278 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.7975, allocations: 106.1 kB / 1.278 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.624e-05/0.7976, allocations: 119.9 kB / 1.279 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-05/0.7977, allocations: 185.2 kB / 1.279 GB, free: 17.31 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.617e-05/0.7978, allocations: 183.6 kB / 1.279 GB, free: 17.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.002e-05/0.7978, allocations: 177.2 kB / 1.279 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.798, allocations: 409.8 kB / 1.279 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-05/0.7981, allocations: 106 kB / 1.28 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.7981, allocations: 111.7 kB / 1.28 GB, free: 16.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.784e-05/0.7982, allocations: 177 kB / 1.28 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/0.7983, allocations: 178 kB / 1.28 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.878e-05/0.7983, allocations: 183.8 kB / 1.28 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.521e-05/0.7984, allocations: 181.2 kB / 1.28 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.7985, allocations: 308.8 kB / 1.281 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.7986, allocations: 180.5 kB / 1.281 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.7987, allocations: 186.8 kB / 1.281 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.7988, allocations: 101.9 kB / 1.281 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.7989, allocations: 182.8 kB / 1.281 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.7989, allocations: 106.5 kB / 1.281 GB, free: 14.44 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.7989, allocations: 89.08 kB / 1.281 GB, free: 14.36 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.7989, allocations: 0 / 1.281 GB, free: 14.36 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000286/0.7992, allocations: 49.89 kB / 1.281 GB, free: 14.35 MB / 1.014 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.0008345/0.8001, allocations: 0.9787 MB / 1.282 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.705e-05/0.8001, allocations: 8.219 kB / 1.282 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8001, allocations: 0 / 1.282 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.8001, allocations: 0.7188 kB / 1.282 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.8005, allocations: 465.2 kB / 1.283 GB, free: 13.02 MB / 1.014 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.001032/0.8015, allocations: 1.351 MB / 1.284 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.8018, allocations: 0.6788 MB / 1.285 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.8018, allocations: 2.438 kB / 1.285 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.8018, allocations: 19.27 kB / 1.285 GB, free: 10.95 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.8018, allocations: 0 / 1.285 GB, free: 10.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8767/1.679, allocations: 2.603 MB / 1.287 GB, free: 10.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/8.603, allocations: 13.56 kB / 1.287 GB, free: 10.41 MB / 1.014 GB " [Timeout remaining time 279] (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 --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: 30.250291293000373]