Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_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.009848/0.009848, allocations: 98.66 kB / 15.73 MB, free: 5.984 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.00167/0.00167, allocations: 196.1 kB / 16.68 MB, free: 5.918 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.779/2.779, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.89 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3256, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002451/0.3281, allocations: 1.262 MB / 1.209 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.3305, allocations: 1.445 MB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.3306, allocations: 0 / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.3306, allocations: 0 / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.3308, allocations: 19.92 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007578/0.3316, allocations: 215.8 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.77e-05/0.3317, allocations: 27.92 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.3318, allocations: 0 / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.3319, allocations: 19.91 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.332, allocations: 11.94 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.332, allocations: 0 / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.3324, allocations: 171.8 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.3324, allocations: 4 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.3324, allocations: 11.92 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.3327, allocations: 151.8 kB / 1.211 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3327, allocations: 0 / 1.211 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3327, allocations: 0 / 1.211 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3327, allocations: 4 kB / 1.211 GB, free: 6.797 MB / 0.9669 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.0003951/0.3331, allocations: 367.7 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3332, allocations: 8.625 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.584e-05/0.3333, allocations: 106 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/0.3333, allocations: 80.22 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.3335, allocations: 243.6 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/0.3336, allocations: 162.9 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/0.3336, allocations: 162.4 kB / 1.212 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.684e-05/0.3337, allocations: 101 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.3337, allocations: 75.28 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.3338, allocations: 154.6 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.3338, allocations: 150.6 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.912e-05/0.3339, allocations: 158.6 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.3342, allocations: 453.9 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.3343, allocations: 169.1 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.3344, allocations: 80.14 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.3344, allocations: 79.28 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.3344, allocations: 109.8 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3345, allocations: 0 / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.139e-05/0.3345, allocations: 33.64 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.3346, allocations: 130.7 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.3347, allocations: 109.8 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.3347, allocations: 25.7 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.3348, allocations: 92.12 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.3348, allocations: 0 / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.3348, allocations: 17.72 kB / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3349, allocations: 310.8 kB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.335, allocations: 4 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-05/0.335, allocations: 30.56 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.3351, allocations: 30.52 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3351, allocations: 0 / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000133/0.3352, allocations: 49.56 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3352, allocations: 8 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3353, allocations: 0 / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3353, allocations: 0 / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.3354, allocations: 7.984 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3354, allocations: 12.08 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.3355, allocations: 8 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3355, allocations: 0 / 1.214 GB, free: 3.082 MB / 0.9669 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.0001079/0.3357, allocations: 196.9 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.3357, allocations: 105 kB / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.578e-05/0.3358, allocations: 112.1 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.03e-05/0.3358, allocations: 188.1 kB / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.81e-05/0.3359, allocations: 176.3 kB / 1.215 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.401e-05/0.336, allocations: 176.4 kB / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.3363, allocations: 421.1 kB / 1.215 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-05/0.3363, allocations: 101 kB / 1.215 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.3364, allocations: 108.9 kB / 1.215 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.25e-05/0.3364, allocations: 188.2 kB / 1.216 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.3365, allocations: 180.2 kB / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.04e-05/0.3366, allocations: 180.3 kB / 1.216 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-05/0.3366, allocations: 176.3 kB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.3368, allocations: 311.7 kB / 1.216 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.3369, allocations: 193.9 kB / 1.217 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.337, allocations: 176.3 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.3371, allocations: 105 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.3371, allocations: 184.2 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-05/0.3372, allocations: 101 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.321e-05/0.3373, allocations: 91.53 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3373, allocations: 0 / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003498/0.3376, allocations: 51.98 kB / 1.217 GB, free: 15.41 MB / 0.9825 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.0008271/0.3384, allocations: 0.9737 MB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.025e-05/0.3385, allocations: 12 kB / 1.218 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3386, allocations: 4 kB / 1.218 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.478e-06/0.3386, allocations: 3.938 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.3389, allocations: 458.1 kB / 1.219 GB, free: 13.98 MB / 0.9825 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.001177/0.3401, allocations: 1.349 MB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3404, allocations: 0.6767 MB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.3404, allocations: 4 kB / 1.221 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.3405, allocations: 15.38 kB / 1.221 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.3405, allocations: 0 / 1.221 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6157/0.9562, allocations: 2.648 MB / 1.223 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/8.508, allocations: 5.234 kB / 1.223 GB, free: 9.332 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches