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.001674/0.001674, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002126/0.002126, allocations: 216.9 kB / 22.25 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.008 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.18/3.18, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] 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.001983/0.001983, allocations: 69.47 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3501, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002517/0.3526, allocations: 1.3 MB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.3551, allocations: 1.578 MB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.3552, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.3552, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.3554, allocations: 15.92 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.356, allocations: 210.9 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.3561, allocations: 27.92 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.3562, allocations: 7.938 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.3563, allocations: 23.91 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.3564, allocations: 13.55 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3564, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.3567, allocations: 179.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.3567, allocations: 3.938 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.3568, allocations: 11.97 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.3571, allocations: 147.9 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3571, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3571, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.3571, allocations: 0 / 1.329 GB, free: 14.43 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.0004515/0.3575, allocations: 305.8 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3576, allocations: 8.031 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/0.3576, allocations: 110 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.3577, allocations: 80.22 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.3579, allocations: 185.8 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/0.3579, allocations: 154.9 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.994e-05/0.358, allocations: 158.5 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.308e-05/0.3581, allocations: 109 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.3581, allocations: 75.28 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.3582, allocations: 150.6 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.064e-05/0.3583, allocations: 154.5 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.701e-05/0.3583, allocations: 154.5 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.3586, allocations: 433 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.92e-05/0.3587, allocations: 173.1 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.052e-05/0.3588, allocations: 80.14 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.3588, allocations: 75.28 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.3588, allocations: 109.8 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3588, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.944e-05/0.3589, allocations: 33.64 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.359, allocations: 126.7 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3591, allocations: 101.8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3591, allocations: 33.7 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.3592, allocations: 84.09 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-06/0.3592, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3592, allocations: 29.7 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3593, allocations: 310.8 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.3593, allocations: 0 / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.818e-05/0.3594, allocations: 30.56 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.3594, allocations: 26.56 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3594, allocations: 3.938 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001294/0.3596, allocations: 57.56 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3596, allocations: 4 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3596, allocations: 0 / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3596, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.3597, allocations: 7.938 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3597, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.3598, allocations: 7.984 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.3598, allocations: 12.09 kB / 1.333 GB, free: 10.89 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.0001109/0.3599, allocations: 194.1 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.36, allocations: 105 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.3601, allocations: 108.1 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.758e-05/0.3602, allocations: 184.2 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.701e-05/0.3602, allocations: 180.3 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-05/0.3603, allocations: 184.2 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.3605, allocations: 380.2 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-05/0.3606, allocations: 101 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.3606, allocations: 105.2 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-05/0.3607, allocations: 176.3 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.054e-05/0.3608, allocations: 192.2 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-05/0.3609, allocations: 180.3 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.239e-05/0.3609, allocations: 176.3 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.3611, allocations: 311.7 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.3612, allocations: 112.9 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.3613, allocations: 184.3 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.21e-05/0.3614, allocations: 105 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/0.3614, allocations: 180.3 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.3615, allocations: 105 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.774e-05/0.3615, allocations: 79.28 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3615, allocations: 4 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003461/0.3619, allocations: 55.8 kB / 1.336 GB, free: 7.352 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.0009311/0.3628, allocations: 0.9792 MB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.331e-05/0.3629, allocations: 20.05 kB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3629, allocations: 4.062 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/0.3629, allocations: 3.938 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.3633, allocations: 451.7 kB / 1.337 GB, free: 5.906 MB / 1.029 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.001322/0.3646, allocations: 1.361 MB / 1.339 GB, free: 4.453 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3649, allocations: 0.669 MB / 1.339 GB, free: 3.758 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.3649, allocations: 4 kB / 1.339 GB, free: 3.754 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.365, allocations: 15.42 kB / 1.339 GB, free: 3.738 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.365, allocations: 0 / 1.339 GB, free: 3.738 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.072/1.437, allocations: 2.73 MB / 1.342 GB, free: 1.168 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.96, allocations: 6.125 kB / 1.342 GB, free: 1.164 MB / 1.029 GB " [Timeout remaining time 269] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 42.72169396600111]