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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 3.773 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 497.2 MB / 0.7812 GB, free: 12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.91 kB / 1.134 GB, free: 13.17 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9698/0.9717, allocations: 173.9 MB / 1.304 GB, free: 32.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002002/0.9737, allocations: 1.273 MB / 1.305 GB, free: 31.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.9754, allocations: 1.45 MB / 1.307 GB, free: 30.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.9754, allocations: 0 / 1.307 GB, free: 30.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.9754, allocations: 3.281 kB / 1.307 GB, free: 30.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.9756, allocations: 6.531 kB / 1.307 GB, free: 30.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.9761, allocations: 223.9 kB / 1.307 GB, free: 30.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.907e-05/0.9762, allocations: 27.48 kB / 1.307 GB, free: 30.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.9762, allocations: 14.45 kB / 1.307 GB, free: 30.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.948e-05/0.9763, allocations: 10.31 kB / 1.307 GB, free: 30.03 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.955e-05/0.9764, allocations: 13.08 kB / 1.307 GB, free: 30.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.9764, allocations: 2.938 kB / 1.307 GB, free: 30.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.9766, allocations: 163.9 kB / 1.307 GB, free: 29.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.9767, allocations: 11.92 kB / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.9767, allocations: 9.094 kB / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.9769, allocations: 145.7 kB / 1.307 GB, free: 29.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9769, allocations: 0 / 1.307 GB, free: 29.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9769, allocations: 0 / 1.307 GB, free: 29.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.9769, allocations: 0 / 1.307 GB, free: 29.91 MB / 1.061 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.0002917/0.9772, allocations: 376.6 kB / 1.308 GB, free: 29.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.9772, allocations: 11.41 kB / 1.308 GB, free: 29.53 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.9772, allocations: 110 kB / 1.308 GB, free: 29.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.9773, allocations: 80.17 kB / 1.308 GB, free: 29.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.9774, allocations: 249.7 kB / 1.308 GB, free: 29.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.9774, allocations: 150.9 kB / 1.308 GB, free: 28.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.9775, allocations: 161.2 kB / 1.308 GB, free: 28.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.012e-05/0.9775, allocations: 103.7 kB / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.9775, allocations: 75.28 kB / 1.308 GB, free: 28.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.9775, allocations: 150.6 kB / 1.309 GB, free: 28.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.9776, allocations: 150.6 kB / 1.309 GB, free: 28.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.561e-05/0.9776, allocations: 158.5 kB / 1.309 GB, free: 28.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.9778, allocations: 457.6 kB / 1.309 GB, free: 27.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.948e-05/0.9778, allocations: 173.1 kB / 1.31 GB, free: 27.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.9779, allocations: 82.89 kB / 1.31 GB, free: 27.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.9779, allocations: 75.28 kB / 1.31 GB, free: 27.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.9779, allocations: 117.8 kB / 1.31 GB, free: 27.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.9779, allocations: 0 / 1.31 GB, free: 27.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.411e-05/0.978, allocations: 32.52 kB / 1.31 GB, free: 27.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.978, allocations: 126.7 kB / 1.31 GB, free: 27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.9781, allocations: 102.8 kB / 1.31 GB, free: 26.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.9781, allocations: 28.67 kB / 1.31 GB, free: 26.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.9781, allocations: 83.38 kB / 1.31 GB, free: 26.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.9781, allocations: 0 / 1.31 GB, free: 26.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.9782, allocations: 23.41 kB / 1.31 GB, free: 26.76 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.9782, allocations: 321.1 kB / 1.31 GB, free: 26.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.9782, allocations: 4 kB / 1.31 GB, free: 26.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.9783, allocations: 26.22 kB / 1.311 GB, free: 26.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.9783, allocations: 29.42 kB / 1.311 GB, free: 26.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9783, allocations: 6.719 kB / 1.311 GB, free: 26.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001132/0.9784, allocations: 56.31 kB / 1.311 GB, free: 26.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.9784, allocations: 8.188 kB / 1.311 GB, free: 26.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.9784, allocations: 0 / 1.311 GB, free: 26.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.9784, allocations: 2.812 kB / 1.311 GB, free: 26.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.9785, allocations: 2.875 kB / 1.311 GB, free: 26.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.9785, allocations: 6.906 kB / 1.311 GB, free: 26.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.9787, allocations: 13.86 kB / 1.311 GB, free: 26.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.9787, allocations: 2.875 kB / 1.311 GB, free: 26.32 MB / 1.061 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 6.159e-05/0.9787, allocations: 191.1 kB / 1.311 GB, free: 26.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.9788, allocations: 107.8 kB / 1.311 GB, free: 26.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.9788, allocations: 108.1 kB / 1.311 GB, free: 25.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.9788, allocations: 180.3 kB / 1.311 GB, free: 25.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.667e-05/0.9789, allocations: 186.4 kB / 1.311 GB, free: 25.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/0.9789, allocations: 180.2 kB / 1.312 GB, free: 25.35 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.979, allocations: 410.8 kB / 1.312 GB, free: 24.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.979, allocations: 108.4 kB / 1.312 GB, free: 24.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.575e-05/0.9791, allocations: 101 kB / 1.312 GB, free: 24.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.57e-05/0.9791, allocations: 184.3 kB / 1.312 GB, free: 24.5 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.9791, allocations: 183.5 kB / 1.312 GB, free: 24.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.55e-05/0.9791, allocations: 183.3 kB / 1.313 GB, free: 24.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.578e-05/0.9792, allocations: 180.2 kB / 1.313 GB, free: 23.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.747e-05/0.9792, allocations: 308.4 kB / 1.313 GB, free: 23.63 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.9793, allocations: 190 kB / 1.313 GB, free: 23.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.9793, allocations: 176.3 kB / 1.313 GB, free: 23.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.9794, allocations: 111.1 kB / 1.314 GB, free: 23.13 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.9794, allocations: 176.3 kB / 1.314 GB, free: 22.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.9794, allocations: 101 kB / 1.314 GB, free: 22.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.9794, allocations: 84.91 kB / 1.314 GB, free: 22.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9794, allocations: 7.938 kB / 1.314 GB, free: 22.76 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003093/0.9797, allocations: 60.92 kB / 1.314 GB, free: 22.74 MB / 1.061 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.000715/0.9805, allocations: 0.9641 MB / 1.315 GB, free: 21.88 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.734e-05/0.9806, allocations: 15.56 kB / 1.315 GB, free: 21.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9806, allocations: 0 / 1.315 GB, free: 21.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.9806, allocations: 0 / 1.315 GB, free: 21.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.9808, allocations: 461.6 kB / 1.315 GB, free: 21.42 MB / 1.061 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.0009404/0.9818, allocations: 1.351 MB / 1.317 GB, free: 20.06 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.9819, allocations: 0.675 MB / 1.317 GB, free: 19.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.9819, allocations: 6.969 kB / 1.317 GB, free: 19.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.982, allocations: 13.5 kB / 1.317 GB, free: 19.35 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.982, allocations: 0 / 1.317 GB, free: 19.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.125/2.107, allocations: 2.648 MB / 1.32 GB, free: 18.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/9.973, allocations: 8.031 kB / 1.32 GB, free: 18.84 MB / 1.061 GB " [Timeout remaining time 271] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 41.141220236197114]