Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 192 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.113/2.113, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64.08 kB / 0.8127 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4793, allocations: 140.4 MB / 0.9497 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001809/0.4811, allocations: 1.271 MB / 0.951 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.4825, allocations: 1.433 MB / 0.9524 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.4826, allocations: 1.562 kB / 0.9524 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.4826, allocations: 3.938 kB / 0.9524 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.4827, allocations: 15.61 kB / 0.9524 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.4832, allocations: 213.2 kB / 0.9526 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.745e-05/0.4833, allocations: 23.02 kB / 0.9526 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.021e-05/0.4833, allocations: 2.688 kB / 0.9526 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.4834, allocations: 15.97 kB / 0.9526 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.201e-05/0.4835, allocations: 17.16 kB / 0.9526 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.4835, allocations: 5.359 kB / 0.9526 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.4837, allocations: 146.7 kB / 0.9528 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.4837, allocations: 9.094 kB / 0.9528 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.4837, allocations: 8.797 kB / 0.9528 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.4839, allocations: 146.8 kB / 0.9529 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4839, allocations: 3.984 kB / 0.9529 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4839, allocations: 3.938 kB / 0.953 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.4839, allocations: 0 / 0.953 GB, free: 6.879 MB / 0.7169 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.0002375/0.4842, allocations: 374 kB / 0.9533 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.4842, allocations: 8.781 kB / 0.9533 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.14e-05/0.4842, allocations: 107.2 kB / 0.9534 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.4843, allocations: 77.47 kB / 0.9535 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/0.4844, allocations: 237.9 kB / 0.9537 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.4844, allocations: 156.4 kB / 0.9539 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.4844, allocations: 157.3 kB / 0.954 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.791e-05/0.4845, allocations: 108.9 kB / 0.9541 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.4845, allocations: 75.28 kB / 0.9542 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.4845, allocations: 152 kB / 0.9543 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.4845, allocations: 154.5 kB / 0.9545 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.552e-05/0.4845, allocations: 151.7 kB / 0.9546 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.4847, allocations: 461.4 kB / 0.9551 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.179e-05/0.4847, allocations: 174.2 kB / 0.9552 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.273e-05/0.4847, allocations: 81.17 kB / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.4848, allocations: 79.22 kB / 0.9554 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.4848, allocations: 110.9 kB / 0.9555 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4848, allocations: 0 / 0.9555 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.655e-05/0.4848, allocations: 31.92 kB / 0.9555 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.4849, allocations: 127.9 kB / 0.9556 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.77e-05/0.4849, allocations: 112.4 kB / 0.9558 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.4849, allocations: 25.7 kB / 0.9558 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.863e-05/0.485, allocations: 82.8 kB / 0.9559 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.485, allocations: 0 / 0.9559 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.485, allocations: 31.14 kB / 0.9559 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.943e-05/0.485, allocations: 316.2 kB / 0.9562 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-06/0.485, allocations: 1.094 kB / 0.9562 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.49e-05/0.4851, allocations: 33.83 kB / 0.9562 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.729e-05/0.4851, allocations: 24.14 kB / 0.9562 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4851, allocations: 0 / 0.9562 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.481e-05/0.4852, allocations: 54.09 kB / 0.9563 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.4852, allocations: 10.47 kB / 0.9563 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.4852, allocations: 1.375 kB / 0.9563 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.4853, allocations: 1.562 kB / 0.9563 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.866e-05/0.4853, allocations: 4.969 kB / 0.9563 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.4853, allocations: 0 / 0.9563 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.4855, allocations: 16.05 kB / 0.9563 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4855, allocations: 7 kB / 0.9563 GB, free: 3.262 MB / 0.7169 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 4.483e-05/0.4855, allocations: 187.8 kB / 0.9565 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.4856, allocations: 102.6 kB / 0.9566 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.4856, allocations: 117.2 kB / 0.9567 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.4856, allocations: 180.3 kB / 0.9569 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/0.4856, allocations: 185.8 kB / 0.9571 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.4856, allocations: 181.6 kB / 0.9572 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.4858, allocations: 407.9 kB / 0.9576 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.4858, allocations: 104.9 kB / 0.9577 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-06/0.4858, allocations: 102.2 kB / 0.9578 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.745e-05/0.4858, allocations: 185.7 kB / 0.958 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.4858, allocations: 181.8 kB / 0.9582 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.632e-05/0.4858, allocations: 176.3 kB / 0.9584 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-05/0.4859, allocations: 185.6 kB / 0.9585 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.61e-05/0.4859, allocations: 315.1 kB / 0.9588 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.4859, allocations: 187.3 kB / 0.959 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.486, allocations: 185.4 kB / 0.9592 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/0.486, allocations: 102.5 kB / 0.9593 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.4861, allocations: 177.5 kB / 0.9595 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.4861, allocations: 114.2 kB / 0.9596 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.076e-05/0.4862, allocations: 78.78 kB / 0.9596 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4862, allocations: 0 / 0.9596 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002849/0.4865, allocations: 58.73 kB / 0.9597 GB, free: 15.66 MB / 0.7325 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.0005933/0.4871, allocations: 0.9583 MB / 0.9606 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.79e-05/0.4871, allocations: 22.42 kB / 0.9607 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4871, allocations: 0 / 0.9607 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.4871, allocations: 5.062 kB / 0.9607 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.4874, allocations: 454.2 kB / 0.9611 GB, free: 14.33 MB / 0.7325 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.0008563/0.4883, allocations: 1.356 MB / 0.9624 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.4885, allocations: 0.6754 MB / 0.9631 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.871e-05/0.4885, allocations: 1.031 kB / 0.9631 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.4885, allocations: 18.27 kB / 0.9631 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.4885, allocations: 0 / 0.9631 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.382/0.8706, allocations: 2.595 MB / 0.9656 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.583/7.454, allocations: 13.31 kB / 0.9656 GB, free: 10.84 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches