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.00677/0.006769, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001558/0.001558, allocations: 187.4 kB / 16.67 MB, free: 5.887 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.301/2.301, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7488/0.7501, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002054/0.7522, allocations: 1.272 MB / 1.167 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.7541, allocations: 1.447 MB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.7541, allocations: 0 / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.7541, allocations: 0 / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.7543, allocations: 15.94 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.7549, allocations: 214.7 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.014e-05/0.755, allocations: 31.91 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.755, allocations: 0 / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.7551, allocations: 15.92 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.7552, allocations: 19.92 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.7552, allocations: 0 / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.7555, allocations: 167.8 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.7555, allocations: 3.984 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.7556, allocations: 7.984 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.7558, allocations: 143.8 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7558, allocations: 0 / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7558, allocations: 3.938 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.7558, allocations: 4 kB / 1.169 GB, free: 412 kB / 0.8887 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.0003449/0.7562, allocations: 369.8 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.7562, allocations: 8.922 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.7562, allocations: 106 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.7563, allocations: 84.22 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.7565, allocations: 247.6 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/0.7565, allocations: 158.9 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.7566, allocations: 162.4 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.998e-05/0.7566, allocations: 104.9 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.7567, allocations: 75.28 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.7567, allocations: 154.6 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/0.7568, allocations: 154.6 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.7568, allocations: 154.6 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.757, allocations: 449.9 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.867e-05/0.7571, allocations: 173 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.7572, allocations: 80.14 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.7572, allocations: 87.22 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.7572, allocations: 113.9 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.7572, allocations: 0 / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 6.749e-05/0.7573, allocations: 29.69 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.7574, allocations: 130.6 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/0.7575, allocations: 101.9 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.7575, allocations: 25.7 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.7575, allocations: 92.12 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.7575, allocations: 0 / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.7576, allocations: 17.72 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.464e-05/0.7577, allocations: 314.8 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.7577, allocations: 7.984 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.7577, allocations: 18.58 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.7578, allocations: 34.52 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7578, allocations: 0 / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001158/0.7579, allocations: 57.47 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7579, allocations: 8 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7579, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.7579, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.758, allocations: 7.984 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.758, allocations: 4.094 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.7582, allocations: 4.25 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.7582, allocations: 4 kB / 1.173 GB, free: 12.68 MB / 0.9044 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.73e-05/0.7583, allocations: 197 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.7583, allocations: 104.9 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.7584, allocations: 112.2 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.277e-05/0.7584, allocations: 184.3 kB / 1.173 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-05/0.7585, allocations: 180.2 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.315e-05/0.7585, allocations: 180.2 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.7587, allocations: 409.1 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.15e-05/0.7588, allocations: 101 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.7588, allocations: 108.9 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-05/0.7589, allocations: 184.3 kB / 1.174 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.7589, allocations: 180.3 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-05/0.759, allocations: 184.1 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.972e-05/0.759, allocations: 180.2 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.7592, allocations: 319.7 kB / 1.175 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.7592, allocations: 182.1 kB / 1.175 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.7593, allocations: 180.2 kB / 1.176 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/0.7593, allocations: 105 kB / 1.176 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.7594, allocations: 180.2 kB / 1.176 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.7594, allocations: 105 kB / 1.176 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.7595, allocations: 87.28 kB / 1.176 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7595, allocations: 0 / 1.176 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002818/0.7598, allocations: 47.98 kB / 1.176 GB, free: 9.016 MB / 0.9044 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.0007274/0.7605, allocations: 0.9895 MB / 1.177 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.7606, allocations: 7.938 kB / 1.177 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7606, allocations: 4 kB / 1.177 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.7606, allocations: 0 / 1.177 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.7609, allocations: 466.9 kB / 1.178 GB, free: 7.57 MB / 0.9044 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.0009766/0.7619, allocations: 1.345 MB / 1.179 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.7621, allocations: 0.6729 MB / 1.18 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.7621, allocations: 7.938 kB / 1.18 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.7622, allocations: 11.44 kB / 1.18 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.7622, allocations: 0 / 1.18 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5494/1.312, allocations: 2.625 MB / 1.182 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/8.356, allocations: 8.484 kB / 1.182 GB, free: 2.938 MB / 0.9044 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