Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00131/0.00131, allocations: 111 kB / 16.46 MB, free: 6.504 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.001307/0.001307, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 443.5 MB / 0.7287 GB, free: 13.18 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003314/0.003314, allocations: 67.89 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9765/0.9798, allocations: 160.7 MB / 1.213 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002566/0.9824, allocations: 1.273 MB / 1.214 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.9847, allocations: 1.456 MB / 1.216 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.9848, allocations: 1.062 kB / 1.216 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.9848, allocations: 0 / 1.216 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.985, allocations: 19.34 kB / 1.216 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.9856, allocations: 219.6 kB / 1.216 GB, free: 1.613 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.9857, allocations: 19.98 kB / 1.216 GB, free: 1.605 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.9857, allocations: 5.125 kB / 1.216 GB, free: 1.602 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.9858, allocations: 25.47 kB / 1.216 GB, free: 1.586 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.9859, allocations: 8.438 kB / 1.216 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.9859, allocations: 1.062 kB / 1.216 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.9862, allocations: 170.8 kB / 1.216 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.9862, allocations: 9.094 kB / 1.216 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.9863, allocations: 12.98 kB / 1.216 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.9865, allocations: 143.8 kB / 1.216 GB, free: 1.406 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.9865, allocations: 3.984 kB / 1.216 GB, free: 1.402 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9865, allocations: 0 / 1.216 GB, free: 1.402 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.9865, allocations: 1.406 kB / 1.216 GB, free: 1.402 MB / 0.92 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.0004078/0.9869, allocations: 370.2 kB / 1.217 GB, free: 1.012 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.987, allocations: 13.09 kB / 1.217 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/0.987, allocations: 107.2 kB / 1.217 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.238e-05/0.9871, allocations: 82.06 kB / 1.217 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.9873, allocations: 240.7 kB / 1.217 GB, free: 0.543 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.9874, allocations: 156.1 kB / 1.217 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.9874, allocations: 157.5 kB / 1.217 GB, free: 244 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.253e-05/0.9875, allocations: 102.2 kB / 1.217 GB, free: 136 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.9875, allocations: 75.28 kB / 1.217 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.9876, allocations: 154.6 kB / 1.218 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.9877, allocations: 155.5 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.287e-05/0.9877, allocations: 154.6 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.9881, allocations: 454.3 kB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.9882, allocations: 178.9 kB / 1.218 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.9882, allocations: 80.14 kB / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.9883, allocations: 75.28 kB / 1.219 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.9883, allocations: 111 kB / 1.219 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.9883, allocations: 1.281 kB / 1.219 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.225e-05/0.9884, allocations: 38.62 kB / 1.219 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.9885, allocations: 131.6 kB / 1.219 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.9886, allocations: 104.7 kB / 1.219 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.9886, allocations: 26.92 kB / 1.219 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.9886, allocations: 81.27 kB / 1.219 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.9886, allocations: 0 / 1.219 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.9887, allocations: 23.67 kB / 1.219 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.9888, allocations: 311.7 kB / 1.219 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.9888, allocations: 10.19 kB / 1.219 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-05/0.9889, allocations: 25.78 kB / 1.219 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.9889, allocations: 26.83 kB / 1.219 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9889, allocations: 1.125 kB / 1.219 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001314/0.9891, allocations: 54.28 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.9891, allocations: 5.844 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.9891, allocations: 0.875 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.9891, allocations: 0.8438 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.9891, allocations: 9.469 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.9892, allocations: 1.156 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.9893, allocations: 15.39 kB / 1.22 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.9893, allocations: 2.875 kB / 1.22 GB, free: 13.79 MB / 0.9356 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.000114/0.9894, allocations: 192.1 kB / 1.22 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.9895, allocations: 115 kB / 1.22 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.613e-05/0.9896, allocations: 109.3 kB / 1.22 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-05/0.9896, allocations: 185.1 kB / 1.22 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.769e-05/0.9897, allocations: 177.1 kB / 1.22 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.757e-05/0.9898, allocations: 181.1 kB / 1.22 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.9901, allocations: 420.1 kB / 1.221 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.283e-05/0.9901, allocations: 101.7 kB / 1.221 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.9902, allocations: 106 kB / 1.221 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.528e-05/0.9902, allocations: 181.3 kB / 1.221 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.692e-05/0.9903, allocations: 181.3 kB / 1.221 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.149e-05/0.9904, allocations: 189.3 kB / 1.222 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.773e-05/0.9905, allocations: 177.3 kB / 1.222 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.9906, allocations: 310.9 kB / 1.222 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.9907, allocations: 187.2 kB / 1.222 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.843e-05/0.9908, allocations: 177.4 kB / 1.222 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.9909, allocations: 106 kB / 1.223 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.991, allocations: 181.4 kB / 1.223 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.991, allocations: 106 kB / 1.223 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.359e-05/0.9911, allocations: 83.28 kB / 1.223 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9911, allocations: 0 / 1.223 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003668/0.9915, allocations: 55.45 kB / 1.223 GB, free: 10.18 MB / 0.9356 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.001001/0.9925, allocations: 0.9747 MB / 1.224 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.451e-05/0.9926, allocations: 10.95 kB / 1.224 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.9926, allocations: 0 / 1.224 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.088e-06/0.9926, allocations: 3.938 kB / 1.224 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.993, allocations: 462 kB / 1.224 GB, free: 8.832 MB / 0.9356 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.00141/0.9944, allocations: 1.355 MB / 1.226 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.9947, allocations: 0.676 MB / 1.226 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.9948, allocations: 2.188 kB / 1.226 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.9948, allocations: 13.7 kB / 1.226 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.9948, allocations: 0 / 1.226 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9086/1.903, allocations: 2.647 MB / 1.229 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/9.963, allocations: 8.047 kB / 1.229 GB, free: 5.328 MB / 0.9356 GB " [Timeout remaining time 277] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 33.14341995399445]