Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_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.003566/0.003566, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.0009263/0.0009263, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.179/1.179, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.068/2.068, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001134, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6325/0.6336, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001762/0.6354, allocations: 1.265 MB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.6371, allocations: 1.438 MB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.6372, allocations: 5.094 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.6372, allocations: 0 / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.6374, allocations: 9.375 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.6379, allocations: 226.1 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.045e-05/0.6379, allocations: 31.72 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.105e-05/0.638, allocations: 1.906 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.638e-05/0.6381, allocations: 15.61 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.595e-05/0.6381, allocations: 9.875 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.6382, allocations: 1.094 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.6384, allocations: 165.5 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.6384, allocations: 9.75 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.6385, allocations: 14.3 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.6387, allocations: 143.2 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.6387, allocations: 0 / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6387, allocations: 0 / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.6387, allocations: 0.7812 kB / 1.091 GB, free: 3.133 MB / 0.8575 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.0002489/0.639, allocations: 369.2 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.639, allocations: 10.05 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.983e-05/0.639, allocations: 110 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.6391, allocations: 83.02 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.611e-05/0.6392, allocations: 250.8 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.6392, allocations: 156.3 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.6392, allocations: 157.3 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.341e-05/0.6393, allocations: 102.3 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6393, allocations: 75.28 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.6393, allocations: 151.4 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.6393, allocations: 155.3 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.6393, allocations: 155.4 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.6395, allocations: 455.2 kB / 1.093 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.758e-05/0.6396, allocations: 170.1 kB / 1.093 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.6396, allocations: 84.89 kB / 1.093 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.6396, allocations: 76.03 kB / 1.093 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.6396, allocations: 119.2 kB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.6397, allocations: 0.75 kB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 6.658e-05/0.6397, allocations: 27.3 kB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.6398, allocations: 128.1 kB / 1.093 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.6399, allocations: 107.2 kB / 1.094 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.6399, allocations: 31.59 kB / 1.094 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.6399, allocations: 81.98 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.6399, allocations: 0 / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.64, allocations: 22 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.6401, allocations: 316.8 kB / 1.094 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.6401, allocations: 3.141 kB / 1.094 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.6401, allocations: 31.16 kB / 1.094 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.121e-05/0.6401, allocations: 29.66 kB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.6402, allocations: 0 / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001081/0.6403, allocations: 53.59 kB / 1.094 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.6403, allocations: 5.719 kB / 1.094 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6403, allocations: 9.234 kB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.6403, allocations: 1.984 kB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.6404, allocations: 4.766 kB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.6404, allocations: 5.281 kB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.6405, allocations: 9.703 kB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.6406, allocations: 7.703 kB / 1.094 GB, free: 15.54 MB / 0.8731 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.315e-05/0.6406, allocations: 189 kB / 1.094 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.6407, allocations: 103.9 kB / 1.094 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.6408, allocations: 118.6 kB / 1.095 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.726e-05/0.6408, allocations: 182.2 kB / 1.095 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-05/0.6409, allocations: 177.4 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.965e-05/0.6409, allocations: 181 kB / 1.095 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.6411, allocations: 407.5 kB / 1.095 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.6411, allocations: 110.9 kB / 1.096 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.6412, allocations: 102.4 kB / 1.096 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.052e-05/0.6412, allocations: 177.6 kB / 1.096 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/0.6413, allocations: 181.9 kB / 1.096 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-05/0.6413, allocations: 177.9 kB / 1.096 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.935e-05/0.6414, allocations: 182.4 kB / 1.096 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.6415, allocations: 317.5 kB / 1.097 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.6416, allocations: 184.1 kB / 1.097 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.6416, allocations: 178.2 kB / 1.097 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.6417, allocations: 111.7 kB / 1.097 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.6417, allocations: 181 kB / 1.097 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.6418, allocations: 102.5 kB / 1.097 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.6418, allocations: 81.05 kB / 1.097 GB, free: 12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.11e-07/0.6418, allocations: 4.688 kB / 1.097 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002966/0.6421, allocations: 62.39 kB / 1.097 GB, free: 11.97 MB / 0.8731 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.0006721/0.6428, allocations: 0.9647 MB / 1.098 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.239e-05/0.6429, allocations: 12.41 kB / 1.098 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6429, allocations: 0.75 kB / 1.098 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.6429, allocations: 0 / 1.098 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.6432, allocations: 463.1 kB / 1.099 GB, free: 10.65 MB / 0.8731 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.0009346/0.6442, allocations: 1.343 MB / 1.1 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.6444, allocations: 0.674 MB / 1.101 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.142e-05/0.6444, allocations: 6.781 kB / 1.101 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.6444, allocations: 14.48 kB / 1.101 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.6444, allocations: 0 / 1.101 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.536/2.181, allocations: 2.634 MB / 1.103 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/12.23, allocations: 10.97 kB / 1.103 GB, free: 8.086 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches