Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00133/0.00133, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00148/0.00148, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.111/3.111, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",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.002043/0.002043, allocations: 70.47 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3664, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002985/0.3694, allocations: 1.291 MB / 1.326 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.372, allocations: 1.524 MB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/0.372, allocations: 4 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.372, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.3723, allocations: 15.94 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.3729, allocations: 220.5 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.087e-05/0.373, allocations: 31.86 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.373, allocations: 11.92 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.3732, allocations: 16 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.3732, allocations: 15.91 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.3733, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.3736, allocations: 147.8 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.3736, allocations: 7.969 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.3736, allocations: 8 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.3739, allocations: 147.9 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3739, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3739, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3739, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 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.000443/0.3743, allocations: 293.9 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3744, allocations: 8.031 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.595e-05/0.3744, allocations: 110 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.982e-05/0.3745, allocations: 84.22 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3747, allocations: 177.8 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.562e-05/0.3748, allocations: 154.9 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.3748, allocations: 158.5 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.614e-05/0.3749, allocations: 117 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/0.375, allocations: 75.28 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.375, allocations: 150.6 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.357e-05/0.3751, allocations: 150.6 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.463e-05/0.3752, allocations: 158.5 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.3755, allocations: 421 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3756, allocations: 177.1 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.3757, allocations: 80.14 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.3757, allocations: 75.28 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.99e-05/0.3758, allocations: 105.8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.3758, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.484e-05/0.3758, allocations: 33.64 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.3759, allocations: 126.7 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.376, allocations: 117.7 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.376, allocations: 25.7 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.3761, allocations: 88.14 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.3761, allocations: 0 / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.3761, allocations: 17.7 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3763, allocations: 314.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.3763, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.022e-05/0.3764, allocations: 107.7 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.3764, allocations: 26.52 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3764, allocations: 7.875 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001361/0.3766, allocations: 57.56 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3766, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3766, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3766, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.3767, allocations: 8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3767, allocations: 4.094 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.3768, allocations: 7.984 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3769, allocations: 4 kB / 1.332 GB, free: 11.28 MB / 1.029 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.0001184/0.377, allocations: 197 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.377, allocations: 105 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.3771, allocations: 108.1 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.49e-05/0.3772, allocations: 180.3 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.353e-05/0.3773, allocations: 184.2 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.419e-05/0.3773, allocations: 184.2 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.3776, allocations: 380.2 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.391e-05/0.3776, allocations: 101 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.3777, allocations: 112.9 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.237e-05/0.3778, allocations: 176.3 kB / 1.333 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.223e-05/0.3779, allocations: 184.2 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.032e-05/0.3779, allocations: 180.3 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-05/0.378, allocations: 180.2 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.3782, allocations: 307.7 kB / 1.334 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.3782, allocations: 112.9 kB / 1.334 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.91e-05/0.3783, allocations: 180.3 kB / 1.334 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.3784, allocations: 104.9 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.3785, allocations: 188.3 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.3786, allocations: 101 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.3786, allocations: 87.52 kB / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3786, allocations: 0 / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003346/0.3789, allocations: 55.8 kB / 1.335 GB, free: 7.734 MB / 1.029 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.0009935/0.3799, allocations: 0.9738 MB / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.973e-05/0.38, allocations: 15.94 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.38, allocations: 192 / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.38, allocations: 4 kB / 1.336 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3804, allocations: 459.7 kB / 1.336 GB, free: 6.301 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.3817, allocations: 1.346 MB / 1.338 GB, free: 4.863 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.757e-05/0.3817, allocations: 59.34 kB / 1.338 GB, free: 4.785 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.3818, allocations: 7.906 kB / 1.338 GB, free: 4.777 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.3818, allocations: 7.438 kB / 1.338 GB, free: 4.77 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3818, allocations: 0 / 1.338 GB, free: 4.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.4146, allocations: 3.153 MB / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.44, allocations: 1.094 kB / 1.341 GB, free: 1.777 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.03069859277457]