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.0008735/0.0008735, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009123/0.0009123, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8982/0.8982, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.785/1.785, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="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 1.382e-06/1.382e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.103e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001788/0.001809, allocations: 1.282 MB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.003395, allocations: 1.524 MB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.00343, allocations: 7.938 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.00345, allocations: 3.984 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.003678, allocations: 23.81 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.004215, allocations: 224 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.046e-05/0.004286, allocations: 23.92 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.004327, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.004474, allocations: 23.97 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.004532, allocations: 13.48 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.004546, allocations: 4 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.004797, allocations: 147.8 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.004809, allocations: 4 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.004832, allocations: 15.92 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.005069, allocations: 171.5 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005071, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.383e-06/0.005073, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.005078, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 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.0003012/0.005379, allocations: 296 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.005421, allocations: 12.75 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.005477, allocations: 106 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.005535, allocations: 80.17 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.005659, allocations: 189.1 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.005702, allocations: 154.9 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.005746, allocations: 154.9 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.474e-05/0.005801, allocations: 109.3 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.005824, allocations: 83.22 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.005862, allocations: 150.6 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/0.005903, allocations: 150.6 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.256e-05/0.005946, allocations: 154.6 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.006174, allocations: 425 kB / 1.005 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.252e-05/0.006247, allocations: 169.2 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.006275, allocations: 84.08 kB / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.006298, allocations: 75.28 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.006335, allocations: 113.8 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.006336, allocations: 0 / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 7.27e-05/0.006409, allocations: 33.7 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.006454, allocations: 130.7 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.006544, allocations: 101.8 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.006555, allocations: 29.7 kB / 1.006 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.006591, allocations: 80.14 kB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.006594, allocations: 0 / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.006625, allocations: 29.64 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/0.006708, allocations: 310.8 kB / 1.006 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.00672, allocations: 3.938 kB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.006785, allocations: 111.7 kB / 1.006 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.923e-05/0.006824, allocations: 34.52 kB / 1.006 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.006826, allocations: 0 / 1.006 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001101/0.006937, allocations: 49.58 kB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.006952, allocations: 7.938 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006957, allocations: 4 kB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.006969, allocations: 0 / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.007039, allocations: 7.938 kB / 1.006 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.007044, allocations: 4.094 kB / 1.006 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.007149, allocations: 12.23 kB / 1.006 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.007159, allocations: 8 kB / 1.006 GB, free: 6.406 MB / 0.9636 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 7.306e-05/0.007232, allocations: 185.1 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.007271, allocations: 104.9 kB / 1.007 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.007316, allocations: 120.1 kB / 1.007 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.384e-05/0.00736, allocations: 176.3 kB / 1.007 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.304e-05/0.007403, allocations: 180.2 kB / 1.007 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.507e-05/0.007448, allocations: 180.3 kB / 1.007 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.007609, allocations: 376.3 kB / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.334e-05/0.007642, allocations: 108.9 kB / 1.008 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.007682, allocations: 101 kB / 1.008 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.684e-05/0.007748, allocations: 184.1 kB / 1.008 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/0.007814, allocations: 184.2 kB / 1.008 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.958e-05/0.007873, allocations: 180.3 kB / 1.008 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.798e-05/0.007961, allocations: 188.2 kB / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.008108, allocations: 303.8 kB / 1.009 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.008147, allocations: 104.9 kB / 1.009 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.008217, allocations: 188.2 kB / 1.009 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.008308, allocations: 104.9 kB / 1.009 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.008366, allocations: 180.3 kB / 1.009 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.008397, allocations: 112.9 kB / 1.009 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.008439, allocations: 83.28 kB / 1.01 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008439, allocations: 0 / 1.01 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002622/0.008701, allocations: 51.73 kB / 1.01 GB, free: 2.879 MB / 0.9636 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.0008188/0.00952, allocations: 0.9886 MB / 1.011 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.009627, allocations: 19.92 kB / 1.011 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.009629, allocations: 0 / 1.011 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.00963, allocations: 4.188 kB / 1.011 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.00992, allocations: 455.7 kB / 1.011 GB, free: 1.438 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009171/0.01084, allocations: 1.349 MB / 1.012 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.759e-05/0.01088, allocations: 55.36 kB / 1.012 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.0109, allocations: 0 / 1.012 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.01093, allocations: 16.48 kB / 1.012 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of SimCode: time 5.11e-07/0.01094, allocations: 0 / 1.012 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.03037, allocations: 3.292 MB / 1.016 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.525/6.556, allocations: 6.422 kB / 1.016 GB, free: 12.76 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.699395789764822]