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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 215.7 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.224/3.224, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 61.53 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3542, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002637/0.3568, allocations: 1.3 MB / 1.347 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.3593, allocations: 1.59 MB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.3593, allocations: 0 / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.3593, allocations: 4 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.3595, allocations: 11.94 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.3602, allocations: 215.4 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.999e-05/0.3603, allocations: 31.91 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.3603, allocations: 0 / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.3604, allocations: 23.92 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.3605, allocations: 7.984 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3605, allocations: 0 / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.3608, allocations: 171.8 kB / 1.349 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.3609, allocations: 3.984 kB / 1.349 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.3609, allocations: 15.92 kB / 1.349 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.3611, allocations: 147.9 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3612, allocations: 4 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3612, allocations: 3.938 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.3612, allocations: 0 / 1.349 GB, free: 12.97 MB / 1.045 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.0004293/0.3616, allocations: 301.8 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3616, allocations: 12.03 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.157e-05/0.3617, allocations: 75.47 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.809e-05/0.3617, allocations: 106 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.3618, allocations: 80.22 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.362, allocations: 185.8 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.792e-05/0.3621, allocations: 158.7 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/0.3622, allocations: 158.6 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.406e-05/0.3622, allocations: 101 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.3623, allocations: 79.27 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8e-05/0.3624, allocations: 162.5 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.115e-05/0.3624, allocations: 150.6 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.596e-05/0.3625, allocations: 154.6 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.3629, allocations: 425 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.363, allocations: 173.1 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.363, allocations: 84.08 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.3631, allocations: 75.28 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.712e-05/0.3631, allocations: 109.8 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3631, allocations: 0 / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.49e-05/0.3632, allocations: 29.66 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.3633, allocations: 138.6 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3634, allocations: 105.8 kB / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3634, allocations: 25.7 kB / 1.352 GB, free: 9.961 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.3635, allocations: 84.14 kB / 1.352 GB, free: 9.875 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.3635, allocations: 0 / 1.352 GB, free: 9.875 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.3636, allocations: 21.7 kB / 1.352 GB, free: 9.848 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3637, allocations: 310.8 kB / 1.352 GB, free: 9.535 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.3637, allocations: 7.938 kB / 1.352 GB, free: 9.527 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-05/0.3638, allocations: 30.56 kB / 1.352 GB, free: 9.488 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/0.3638, allocations: 30.62 kB / 1.352 GB, free: 9.449 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3638, allocations: 3.938 kB / 1.352 GB, free: 9.445 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001352/0.364, allocations: 45.62 kB / 1.352 GB, free: 9.395 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.364, allocations: 12.09 kB / 1.352 GB, free: 9.383 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.364, allocations: 3.938 kB / 1.352 GB, free: 9.379 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.364, allocations: 0 / 1.352 GB, free: 9.379 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.3641, allocations: 7.938 kB / 1.352 GB, free: 9.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3641, allocations: 0 / 1.352 GB, free: 9.371 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.3642, allocations: 11.98 kB / 1.352 GB, free: 9.359 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3642, allocations: 4 kB / 1.352 GB, free: 9.355 MB / 1.045 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.000122/0.3643, allocations: 189.1 kB / 1.352 GB, free: 9.16 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.3644, allocations: 108.9 kB / 1.352 GB, free: 9.047 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.254e-05/0.3645, allocations: 119.8 kB / 1.352 GB, free: 8.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.469e-05/0.3646, allocations: 180.3 kB / 1.353 GB, free: 8.734 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.011e-05/0.3646, allocations: 180.2 kB / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.418e-05/0.3647, allocations: 176.3 kB / 1.353 GB, free: 8.371 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.365, allocations: 384.2 kB / 1.353 GB, free: 7.945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.545e-05/0.3651, allocations: 104.9 kB / 1.353 GB, free: 7.836 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.3651, allocations: 101 kB / 1.354 GB, free: 7.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.494e-05/0.3652, allocations: 188.2 kB / 1.354 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.622e-05/0.3653, allocations: 176.5 kB / 1.354 GB, free: 7.359 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.398e-05/0.3654, allocations: 176.3 kB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.535e-05/0.3655, allocations: 192.2 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.3656, allocations: 307.7 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.3657, allocations: 109 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.953e-05/0.3658, allocations: 180.3 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.3659, allocations: 108.9 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.3659, allocations: 180.3 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/0.366, allocations: 108.9 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.07e-05/0.366, allocations: 83.28 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.366, allocations: 0 / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003421/0.3664, allocations: 51.8 kB / 1.355 GB, free: 5.82 MB / 1.045 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.0009889/0.3674, allocations: 0.9648 MB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.091e-05/0.3675, allocations: 15.92 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3675, allocations: 0 / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.3675, allocations: 0 / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.3679, allocations: 463.9 kB / 1.357 GB, free: 4.391 MB / 1.045 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.001307/0.3692, allocations: 1.357 MB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3695, allocations: 0.6844 MB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.556e-05/0.3695, allocations: 0 / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.3696, allocations: 15.42 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3696, allocations: 0 / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.093/1.462, allocations: 2.743 MB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.8, allocations: 15.88 kB / 1.361 GB, free: 15.63 MB / 1.061 GB " [Timeout remaining time 268] (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/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: 45.054117010033224]