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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001176/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00113/0.00113, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.152/1.152, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.284/2.284, allocations: 437 MB / 0.71 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.09 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4592, allocations: 151.6 MB / 1.017 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001963/0.4612, allocations: 1.346 MB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.4629, allocations: 1.428 MB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.4629, allocations: 0 / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.4629, allocations: 3.938 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.4631, allocations: 15.98 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.4635, allocations: 178 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.121e-05/0.4636, allocations: 23.92 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.13e-05/0.4636, allocations: 3.984 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.448e-05/0.4637, allocations: 12 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.4638, allocations: 19.91 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.4638, allocations: 3.938 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.464, allocations: 147.8 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.464, allocations: 11.98 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.464, allocations: 11.92 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.4643, allocations: 143.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4643, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.22e-07/0.4643, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.4643, allocations: 0 / 1.02 GB, free: 15.52 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.000303/0.4646, allocations: 361.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.4646, allocations: 8.031 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.4647, allocations: 110 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.4647, allocations: 84.22 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.4649, allocations: 247.6 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.4649, allocations: 150.9 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.465, allocations: 158.5 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.776e-05/0.465, allocations: 104.9 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.465, allocations: 75.28 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.4651, allocations: 154.6 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.4651, allocations: 154.6 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/0.4652, allocations: 154.5 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.4654, allocations: 457.9 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.082e-05/0.4655, allocations: 173.1 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.4655, allocations: 80.14 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.4655, allocations: 75.28 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.4656, allocations: 117.8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4656, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.262e-05/0.4656, allocations: 33.69 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.4657, allocations: 130.7 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.4658, allocations: 105.8 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.4658, allocations: 25.7 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.4658, allocations: 88.12 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.4658, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.4659, allocations: 17.77 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.4659, allocations: 314.8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.466, allocations: 7.984 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.004e-05/0.466, allocations: 34.56 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.4661, allocations: 30.5 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4661, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001077/0.4662, allocations: 45.67 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.4662, allocations: 12 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.4662, allocations: 0 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.4662, allocations: 0 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/0.4663, allocations: 11.92 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4663, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.4664, allocations: 15.84 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.4664, allocations: 4 kB / 1.023 GB, free: 11.8 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 7.674e-05/0.4665, allocations: 193 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.4666, allocations: 105 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.4666, allocations: 108.1 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.623e-05/0.4667, allocations: 184.2 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.573e-05/0.4667, allocations: 180.2 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-05/0.4668, allocations: 184.2 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.4669, allocations: 409.2 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/0.467, allocations: 108.9 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.467, allocations: 101 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.257e-05/0.4671, allocations: 180.3 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/0.4671, allocations: 180.2 kB / 1.025 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.452e-05/0.4672, allocations: 176.3 kB / 1.025 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.65e-05/0.4672, allocations: 188.2 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.781e-05/0.4673, allocations: 303.8 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.4674, allocations: 190 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.4674, allocations: 184.2 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.4675, allocations: 109.5 kB / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.4676, allocations: 176.3 kB / 1.026 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.4676, allocations: 109 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.747e-05/0.4676, allocations: 83.28 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4676, allocations: 0 / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002775/0.4679, allocations: 47.98 kB / 1.027 GB, free: 8.148 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.0006527/0.4686, allocations: 0.983 MB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.837e-05/0.4686, allocations: 11.88 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4687, allocations: 0 / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.4687, allocations: 4 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.469, allocations: 0.5242 MB / 1.028 GB, free: 6.637 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.0008657/0.4699, allocations: 1.355 MB / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.47, allocations: 0.677 MB / 1.03 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.4701, allocations: 0 / 1.03 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.4701, allocations: 15.44 kB / 1.03 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.4701, allocations: 0 / 1.03 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4976/0.9677, allocations: 2.481 MB / 1.033 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.9679, allocations: 289 kB / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.548, allocations: 0 / 1.033 GB, free: 1.777 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