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.001786/0.001786, 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.002489/0.002489, allocations: 214.2 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.781 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.238/3.238, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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.00206/0.00206, allocations: 70.7 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3497, allocations: 176.1 MB / 1.325 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002701/0.3524, allocations: 1.293 MB / 1.326 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.3551, allocations: 1.52 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.3551, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.3551, allocations: 4 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.3553, allocations: 15.92 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007738/0.3561, allocations: 217.7 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.3562, allocations: 27.92 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.3562, allocations: 7.938 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.3564, allocations: 19.91 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.036e-05/0.3565, allocations: 15.94 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3565, allocations: 4 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.3568, allocations: 147.8 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.3568, allocations: 8 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.3569, allocations: 7.984 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.3572, allocations: 139.9 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3572, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3572, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.3572, allocations: 4 kB / 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.0004155/0.3576, allocations: 293.9 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3576, allocations: 16.03 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.3577, allocations: 106 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.114e-05/0.3578, allocations: 76.22 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.358, allocations: 189.8 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/0.358, allocations: 154.9 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.882e-05/0.3581, allocations: 158.5 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.938e-05/0.3582, allocations: 109 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.847e-05/0.3583, allocations: 75.28 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/0.3583, allocations: 150.6 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.624e-05/0.3584, allocations: 150.6 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.317e-05/0.3585, allocations: 154.5 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.3588, allocations: 429 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3589, allocations: 173.1 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.359, allocations: 80.14 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.359, allocations: 79.28 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/0.3591, allocations: 105.8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.3591, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.774e-05/0.3592, allocations: 33.64 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.164e-05/0.3592, allocations: 130.7 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3594, allocations: 109.8 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3594, allocations: 29.7 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.3595, allocations: 88.08 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.3595, allocations: 0 / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.3595, allocations: 25.7 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3597, allocations: 310.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.3597, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.3598, allocations: 111.7 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.93e-05/0.3598, allocations: 22.52 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3598, allocations: 3.938 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001652/0.36, allocations: 57.56 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.36, allocations: 8 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.36, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.36, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.3601, allocations: 7.984 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3601, allocations: 4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.3603, allocations: 4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3603, 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.0001461/0.3605, allocations: 205.1 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.3606, allocations: 105 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/0.3606, allocations: 104.1 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-05/0.3607, allocations: 184.5 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.79e-05/0.3608, allocations: 180.3 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.055e-05/0.3609, allocations: 188.2 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.3612, allocations: 376.2 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.785e-05/0.3612, allocations: 101 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.3613, allocations: 108.9 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.156e-05/0.3614, allocations: 180.3 kB / 1.333 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-05/0.3615, allocations: 180.2 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.268e-05/0.3616, allocations: 180.3 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.971e-05/0.3616, allocations: 180.3 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.3618, allocations: 315.6 kB / 1.334 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.3619, allocations: 104.9 kB / 1.334 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.513e-05/0.362, allocations: 188.3 kB / 1.334 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.3621, allocations: 101 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3622, allocations: 188.2 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.969e-05/0.3622, allocations: 101 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.624e-05/0.3623, allocations: 79.28 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3623, allocations: 3.938 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003587/0.3626, allocations: 55.8 kB / 1.335 GB, free: 7.738 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.00109/0.3637, allocations: 0.984 MB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.997e-05/0.3638, allocations: 7.984 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3638, allocations: 7.938 kB / 1.336 GB, free: 6.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.3638, allocations: 0 / 1.336 GB, free: 6.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.3643, allocations: 451.7 kB / 1.336 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3655, allocations: 1.35 MB / 1.338 GB, free: 4.863 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.925e-05/0.3656, allocations: 59.36 kB / 1.338 GB, free: 4.785 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.3656, allocations: 3.906 kB / 1.338 GB, free: 4.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.3657, allocations: 19.42 kB / 1.338 GB, free: 4.762 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.3657, allocations: 0 / 1.338 GB, free: 4.762 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.4014, allocations: 3.147 MB / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.57, allocations: 10.3 kB / 1.341 GB, free: 1.77 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 & 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: 18.412884271238]