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.00173/0.00173, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002123/0.002123, allocations: 213 kB / 23.04 MB, free: 5.082 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8 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.87/2.87, allocations: 476.7 MB / 0.7714 GB, free: 4.324 MB / 0.6231 GB " [Timeout remaining time 176] 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.002007/0.002007, allocations: 63.73 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3692, allocations: 170 MB / 1.284 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002848/0.372, allocations: 1.294 MB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002691/0.3747, allocations: 1.588 MB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.3748, allocations: 0 / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.3748, allocations: 3.984 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.3749, allocations: 7.938 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006839/0.3756, allocations: 219.1 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.23e-05/0.3757, allocations: 31.86 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.3758, allocations: 0 / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.3759, allocations: 27.97 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.376, allocations: 7.984 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.376, allocations: 0 / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.3764, allocations: 175.8 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.3764, allocations: 7.922 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.3764, allocations: 8 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.3767, allocations: 143.6 kB / 1.288 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3767, allocations: 0 / 1.288 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3767, allocations: 0 / 1.288 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3767, allocations: 0 / 1.288 GB, free: 8.273 MB / 0.9825 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.000448/0.3771, allocations: 309.8 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3772, allocations: 12.03 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.841e-05/0.3773, allocations: 79.45 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.746e-05/0.3773, allocations: 106 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.165e-05/0.3774, allocations: 76.22 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.3776, allocations: 185.8 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.169e-05/0.3777, allocations: 162.7 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.014e-05/0.3778, allocations: 154.6 kB / 1.289 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.513e-05/0.3779, allocations: 101 kB / 1.289 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.3779, allocations: 75.28 kB / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/0.378, allocations: 154.5 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.734e-05/0.378, allocations: 150.6 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.541e-05/0.3781, allocations: 158.6 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.3785, allocations: 429 kB / 1.29 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3786, allocations: 169.1 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.3786, allocations: 84.08 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.3787, allocations: 83.22 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.663e-05/0.3787, allocations: 109.8 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3787, allocations: 0 / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.145e-05/0.3788, allocations: 25.7 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.3789, allocations: 126.7 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.379, allocations: 105.8 kB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.379, allocations: 29.7 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.3791, allocations: 92.09 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.3791, allocations: 0 / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.3791, allocations: 25.64 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3793, allocations: 310.8 kB / 1.291 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.3793, allocations: 4.25 kB / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.294e-05/0.3794, allocations: 34.5 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/0.3794, allocations: 26.58 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3794, allocations: 3.938 kB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001527/0.3796, allocations: 49.62 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3796, allocations: 10.66 kB / 1.291 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3796, allocations: 0 / 1.291 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3796, allocations: 0 / 1.291 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.3797, allocations: 7.938 kB / 1.291 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3797, allocations: 8.094 kB / 1.291 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3798, allocations: 7.984 kB / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.3799, allocations: 4 kB / 1.291 GB, free: 4.656 MB / 0.9825 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.0001203/0.38, allocations: 189.1 kB / 1.291 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.38, allocations: 105 kB / 1.291 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.544e-05/0.3801, allocations: 112.1 kB / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.219e-05/0.3802, allocations: 192.3 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.823e-05/0.3803, allocations: 176.3 kB / 1.292 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.109e-05/0.3804, allocations: 180.2 kB / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.3806, allocations: 380.2 kB / 1.292 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.79e-05/0.3807, allocations: 104.9 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.3807, allocations: 101 kB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.596e-05/0.3808, allocations: 188.2 kB / 1.293 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.399e-05/0.3809, allocations: 176.3 kB / 1.293 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.83e-05/0.381, allocations: 180.2 kB / 1.293 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.454e-05/0.3811, allocations: 184.2 kB / 1.293 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.3812, allocations: 311.7 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.3813, allocations: 109 kB / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.413e-05/0.3814, allocations: 180.3 kB / 1.294 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.3815, allocations: 104.9 kB / 1.294 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.3816, allocations: 180.3 kB / 1.294 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/0.3816, allocations: 116.9 kB / 1.294 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.3817, allocations: 87.27 kB / 1.294 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3817, allocations: 0 / 1.294 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003427/0.382, allocations: 55.73 kB / 1.294 GB, free: 1.121 MB / 0.9825 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.001073/0.3831, allocations: 0.9768 MB / 1.295 GB, free: 156 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.3832, allocations: 7.938 kB / 1.295 GB, free: 148 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3832, allocations: 0 / 1.295 GB, free: 148 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.3832, allocations: 3.984 kB / 1.295 GB, free: 144 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.3836, allocations: 459.7 kB / 1.296 GB, free: 15.69 MB / 0.9981 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.001481/0.3851, allocations: 1.348 MB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3855, allocations: 0.6768 MB / 1.298 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.3855, allocations: 7.938 kB / 1.298 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.3855, allocations: 15.38 kB / 1.298 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3855, allocations: 4 kB / 1.298 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9958/1.381, allocations: 2.748 MB / 1.3 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.67, allocations: 5.375 kB / 1.3 GB, free: 10.93 MB / 0.9981 GB " [Timeout remaining time 274] (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: 36.94151651201537]