Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_10_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.007991/0.007992, allocations: 101.9 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001868, allocations: 189.4 kB / 16.67 MB, free: 5.914 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437.1 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2694, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002536/0.272, allocations: 1.262 MB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.2744, allocations: 1.437 MB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.2744, allocations: 0 / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.904e-05/0.2745, allocations: 7.938 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.2747, allocations: 15.91 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.2753, allocations: 222.6 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.326e-05/0.2754, allocations: 23.86 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.2755, allocations: 0 / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.2755, allocations: 23.97 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.2757, allocations: 7.938 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2757, allocations: 0 / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.276, allocations: 171.8 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.276, allocations: 4 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.2761, allocations: 11.94 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.2764, allocations: 151.8 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2764, allocations: 0 / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2764, allocations: 0 / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.2764, allocations: 0 / 1.169 GB, free: 3.996 MB / 0.92 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.0004389/0.2769, allocations: 375 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.2769, allocations: 8.031 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.908e-05/0.277, allocations: 106 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.2771, allocations: 84.22 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.2773, allocations: 239.7 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.2773, allocations: 154.9 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.271e-05/0.2774, allocations: 154.5 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.453e-05/0.2775, allocations: 108.9 kB / 1.171 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.2775, allocations: 79.28 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.551e-05/0.2776, allocations: 154.6 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.682e-05/0.2777, allocations: 150.6 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.353e-05/0.2777, allocations: 154.5 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.278, allocations: 461.9 kB / 1.172 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.397e-05/0.2781, allocations: 181 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/0.2782, allocations: 80.14 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.2782, allocations: 79.28 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.2783, allocations: 105.8 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2783, allocations: 0 / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.134e-05/0.2783, allocations: 37.59 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.2784, allocations: 134.7 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.2785, allocations: 101.8 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.2785, allocations: 29.64 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.2786, allocations: 88.08 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.2786, allocations: 0 / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.2786, allocations: 21.7 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.2787, allocations: 314.8 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.2788, allocations: 0 / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.203e-05/0.2788, allocations: 34.56 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.2789, allocations: 26.52 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2789, allocations: 0 / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001255/0.279, allocations: 49.56 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.279, allocations: 12.09 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.279, allocations: 0 / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.279, allocations: 0 / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.2791, allocations: 4 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2791, allocations: 4 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.2793, allocations: 11.98 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.2793, allocations: 0 / 1.173 GB, free: 272 kB / 0.92 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 9.95e-05/0.2794, allocations: 189.1 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.2795, allocations: 112.9 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.2795, allocations: 116.1 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.939e-05/0.2796, allocations: 176.3 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.512e-05/0.2797, allocations: 180.5 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.207e-05/0.2797, allocations: 176.3 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.28, allocations: 421.1 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.974e-05/0.28, allocations: 101 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.28, allocations: 105 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-05/0.2801, allocations: 180.2 kB / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/0.2802, allocations: 180.2 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.126e-05/0.2802, allocations: 184.2 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.831e-05/0.2803, allocations: 188.3 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.2805, allocations: 307.7 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.2805, allocations: 182.1 kB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.925e-05/0.2806, allocations: 180.2 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.2807, allocations: 101 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.2808, allocations: 184.3 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.2808, allocations: 108.9 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.2809, allocations: 83.28 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2809, allocations: 3.938 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004241/0.2813, allocations: 51.8 kB / 1.176 GB, free: 12.61 MB / 0.9356 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.0008042/0.2821, allocations: 0.9757 MB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.276e-05/0.2822, allocations: 15.92 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2822, allocations: 0 / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.2822, allocations: 0 / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.2826, allocations: 459.9 kB / 1.178 GB, free: 11.17 MB / 0.9356 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.001089/0.2837, allocations: 1.349 MB / 1.179 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.2839, allocations: 0.6768 MB / 1.18 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.2839, allocations: 4 kB / 1.18 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.284, allocations: 11.42 kB / 1.18 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.284, allocations: 0 / 1.18 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5599/0.8439, allocations: 2.641 MB / 1.182 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/8.12, allocations: 14.5 kB / 1.182 GB, free: 6.527 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches