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.004062/0.004062, allocations: 99.61 kB / 15.73 MB, free: 6.031 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.001092/0.001092, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.326/2.326, allocations: 437.1 MB / 0.7106 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 67.89 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.621/0.6228, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002062/0.6249, allocations: 1.272 MB / 1.167 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.6268, allocations: 1.443 MB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.6268, allocations: 0 / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.6269, allocations: 0 / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.627, allocations: 19.91 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.6276, allocations: 216.2 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.6276, allocations: 19.92 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 2.699e-05/0.6277, allocations: 3.938 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.898e-05/0.6277, allocations: 23.98 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.164e-05/0.6278, allocations: 11.92 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.6279, allocations: 4 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.6281, allocations: 163.8 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.6282, allocations: 11.98 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.6282, allocations: 4 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.6284, allocations: 143.3 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6284, allocations: 4 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6284, allocations: 3.938 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.6284, allocations: 0 / 1.169 GB, free: 400 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.0003674/0.6288, allocations: 375.1 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.6289, allocations: 8.625 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.6289, allocations: 106 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.629, allocations: 84.14 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.6292, allocations: 239.7 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.6292, allocations: 154.9 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-05/0.6293, allocations: 162.5 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.754e-05/0.6294, allocations: 101 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.6294, allocations: 75.28 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.6295, allocations: 150.6 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.357e-05/0.6295, allocations: 150.6 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.588e-05/0.6296, allocations: 162.5 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.6299, allocations: 461.9 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.659e-05/0.63, allocations: 173 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.63, allocations: 80.14 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.6301, allocations: 83.2 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.6301, allocations: 113.9 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.6301, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.079e-05/0.6302, allocations: 37.59 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.6303, allocations: 126.7 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.725e-05/0.6304, allocations: 109.8 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.6304, allocations: 25.7 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.6304, allocations: 80.14 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.6304, allocations: 0 / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.6305, allocations: 29.7 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6306, allocations: 310.8 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.6306, allocations: 4 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.341e-05/0.6307, allocations: 26.56 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/0.6307, allocations: 30.52 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.6307, allocations: 0 / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001145/0.6308, allocations: 53.56 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.6309, allocations: 4 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6309, allocations: 4 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.6309, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/0.6309, allocations: 4 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.6309, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.6311, allocations: 20.02 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.6311, allocations: 4 kB / 1.173 GB, free: 12.66 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 0.0001039/0.6312, allocations: 195.2 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.6313, allocations: 104.9 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.6314, allocations: 108.2 kB / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.088e-05/0.6314, allocations: 192.2 kB / 1.173 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.041e-05/0.6315, allocations: 180.3 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.88e-05/0.6316, allocations: 180.2 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.6318, allocations: 409.2 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.954e-05/0.6319, allocations: 101 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.6319, allocations: 104.9 kB / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.407e-05/0.632, allocations: 176.3 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.219e-05/0.6321, allocations: 188.2 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.136e-05/0.6321, allocations: 180.2 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.967e-05/0.6322, allocations: 180.5 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.6324, allocations: 311.7 kB / 1.175 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.6324, allocations: 190 kB / 1.176 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.361e-05/0.6325, allocations: 188.3 kB / 1.176 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.6326, allocations: 101 kB / 1.176 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.6327, allocations: 184.1 kB / 1.176 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.6327, allocations: 101 kB / 1.176 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.842e-05/0.6328, allocations: 87.27 kB / 1.176 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6328, allocations: 4 kB / 1.176 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002907/0.6331, allocations: 51.8 kB / 1.176 GB, free: 8.988 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.0008491/0.634, allocations: 0.97 MB / 1.177 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.5e-05/0.634, allocations: 19.86 kB / 1.177 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.634, allocations: 0 / 1.177 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.634, allocations: 0 / 1.177 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.6344, allocations: 458.5 kB / 1.178 GB, free: 7.559 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.001058/0.6355, allocations: 1.349 MB / 1.179 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.6357, allocations: 0.6729 MB / 1.18 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.031e-05/0.6358, allocations: 3.938 kB / 1.18 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.6358, allocations: 15.44 kB / 1.18 GB, free: 5.398 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.6358, allocations: 0 / 1.18 GB, free: 5.398 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.656/2.292, allocations: 2.633 MB / 1.182 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/16.49, allocations: 11.64 kB / 1.182 GB, free: 2.914 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=400 --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