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.001181/0.001181, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00111/0.00111, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.172/1.172, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.23/2.23, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.91 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4833, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002/0.4853, allocations: 1.342 MB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.4871, allocations: 1.413 MB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.4871, allocations: 8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.4871, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.4873, allocations: 11.92 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.4878, allocations: 199.5 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.308e-05/0.4879, allocations: 19.92 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.691e-05/0.4879, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.032e-05/0.488, allocations: 23.86 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.4881, allocations: 11.98 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.306e-06/0.4881, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.4883, allocations: 151.8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.4883, allocations: 3.984 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.4883, allocations: 11.94 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.4886, allocations: 151.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.4886, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.92e-07/0.4886, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.4886, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 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.0002981/0.4889, allocations: 369.7 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.4889, allocations: 8.031 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.489, allocations: 106 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.489, allocations: 80.22 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.4891, allocations: 243.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.4892, allocations: 162.9 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.4892, allocations: 158.5 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.77e-05/0.4893, allocations: 101 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.4893, allocations: 79.28 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.4894, allocations: 150.6 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.287e-05/0.4894, allocations: 158.5 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.824e-05/0.4894, allocations: 154.5 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.4897, allocations: 457.8 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.2e-05/0.4897, allocations: 173.1 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.4898, allocations: 92.12 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.4898, allocations: 75.28 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.4898, allocations: 109.8 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.4898, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.078e-05/0.4899, allocations: 29.64 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.49, allocations: 126.7 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.49, allocations: 109.8 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.4901, allocations: 25.7 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.4901, allocations: 88.14 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-06/0.4901, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.4901, allocations: 17.72 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.4902, allocations: 318.8 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.4902, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.4903, allocations: 30.56 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.874e-05/0.4903, allocations: 30.56 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4903, allocations: 0 / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001032/0.4904, allocations: 53.56 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.4905, allocations: 8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.4905, allocations: 0 / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.4905, allocations: 4.094 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.347e-05/0.4905, allocations: 4 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4906, allocations: 4 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.4907, allocations: 7.984 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/0.4907, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 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 8.486e-05/0.4908, allocations: 197 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.4909, allocations: 104.9 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.4909, allocations: 116.2 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.041e-05/0.491, allocations: 188.2 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.373e-05/0.491, allocations: 176.3 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.015e-05/0.4911, allocations: 184.2 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.4912, allocations: 405.2 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/0.4913, allocations: 105 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.4913, allocations: 112.9 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.525e-05/0.4914, allocations: 176.3 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.4914, allocations: 180.2 kB / 1.025 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.691e-05/0.4915, allocations: 180.2 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.593e-05/0.4915, allocations: 180.3 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.933e-05/0.4916, allocations: 307.7 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.4917, allocations: 194.2 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.4917, allocations: 180.5 kB / 1.026 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.4918, allocations: 109 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.4919, allocations: 188.2 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.4919, allocations: 105 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.4919, allocations: 83.27 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4919, allocations: 0 / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000272/0.4922, allocations: 51.98 kB / 1.027 GB, free: 7.949 MB / 0.7794 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.0006361/0.4929, allocations: 0.9765 MB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.159e-05/0.4929, allocations: 12 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4929, allocations: 0 / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.493, allocations: 3.938 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.4932, allocations: 460.6 kB / 1.028 GB, free: 6.52 MB / 0.7794 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.0008538/0.4941, allocations: 1.346 MB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.4943, allocations: 0.6768 MB / 1.03 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.4943, allocations: 11.88 kB / 1.03 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.4943, allocations: 11.44 kB / 1.03 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.4943, allocations: 0 / 1.03 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.379/2.874, allocations: 2.521 MB / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003418/2.874, allocations: 283.1 kB / 1.033 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/4.369, allocations: 0 / 1.033 GB, free: 1.645 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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