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.001192/0.001192, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008952/0.0008952, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8616/0.8616, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.778/1.778, allocations: 389 MB / 0.633 GB, free: 12.71 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.603e-06/1.603e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.767e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001678/0.001696, allocations: 1.281 MB / 1.001 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.003371, allocations: 1.536 MB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.003405, allocations: 0 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.003424, allocations: 3.938 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.003649, allocations: 19.84 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.004121, allocations: 222.5 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.004191, allocations: 23.92 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.004234, allocations: 3.938 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.004373, allocations: 23.97 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.004426, allocations: 8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.00444, allocations: 0 / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.00466, allocations: 159.7 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.004674, allocations: 7.984 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.004692, allocations: 11.98 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.004891, allocations: 167.5 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004892, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004893, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.004898, 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.000311/0.005209, allocations: 290 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.005256, allocations: 16.75 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.211e-05/0.005308, allocations: 106 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.005369, allocations: 84.17 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.005503, allocations: 181.1 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.005551, allocations: 150.9 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.005607, allocations: 154.9 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.414e-05/0.005671, allocations: 109.2 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.005695, allocations: 83.22 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.005746, allocations: 154.6 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/0.00579, allocations: 150.6 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/0.00584, allocations: 150.6 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.006097, allocations: 429 kB / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.995e-05/0.006186, allocations: 173.1 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.006217, allocations: 80.14 kB / 1.005 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.006243, allocations: 79.28 kB / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.006287, allocations: 117.8 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.006288, allocations: 0 / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 7.151e-05/0.00636, allocations: 25.7 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.006422, allocations: 130.7 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.006523, allocations: 101.8 kB / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.006537, allocations: 29.7 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.006578, allocations: 84.14 kB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-06/0.006581, allocations: 3.938 kB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.006614, allocations: 21.72 kB / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.006717, allocations: 322.8 kB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.006729, allocations: 0 / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.139e-05/0.0068, allocations: 107.7 kB / 1.006 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.006842, allocations: 26.58 kB / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006844, allocations: 0 / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001358/0.006979, allocations: 57.53 kB / 1.006 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.006998, allocations: 11.92 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.007006, allocations: 4 kB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.00702, allocations: 0 / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.007097, allocations: 4 kB / 1.006 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.007104, allocations: 0 / 1.006 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.007213, allocations: 7.984 kB / 1.006 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.007225, allocations: 4 kB / 1.006 GB, free: 6.422 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 8.727e-05/0.007312, allocations: 189.1 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.007359, allocations: 109 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.007401, allocations: 112.3 kB / 1.007 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.931e-05/0.007451, allocations: 180.2 kB / 1.007 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.424e-05/0.007505, allocations: 184.2 kB / 1.007 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-05/0.007556, allocations: 184.2 kB / 1.007 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.007719, allocations: 376.3 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/0.007744, allocations: 104.9 kB / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.00777, allocations: 101 kB / 1.008 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.377e-05/0.007814, allocations: 188.1 kB / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/0.007863, allocations: 180.3 kB / 1.008 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.442e-05/0.007908, allocations: 180.2 kB / 1.008 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.683e-05/0.007955, allocations: 188.3 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.008061, allocations: 303.8 kB / 1.009 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.008095, allocations: 108.9 kB / 1.009 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.008153, allocations: 192.1 kB / 1.009 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.281e-05/0.008206, allocations: 101 kB / 1.009 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.008256, allocations: 176.3 kB / 1.009 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.008285, allocations: 108.9 kB / 1.009 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.008322, allocations: 87.27 kB / 1.01 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008322, allocations: 0 / 1.01 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002303/0.008552, allocations: 47.81 kB / 1.01 GB, free: 2.891 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.0006278/0.00918, allocations: 0.9985 MB / 1.011 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.305e-05/0.009253, allocations: 11.94 kB / 1.011 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.009255, allocations: 0 / 1.011 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.009256, allocations: 0 / 1.011 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.009496, allocations: 459.7 kB / 1.011 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007256/0.01022, allocations: 1.341 MB / 1.012 GB, free: 12 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.689e-05/0.01027, allocations: 63.59 kB / 1.012 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.01029, allocations: 0 / 1.012 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.01032, allocations: 16.5 kB / 1.012 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of SimCode: time 3.51e-07/0.01032, allocations: 0 / 1.012 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.02734, allocations: 3.283 MB / 1.016 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/7.167, allocations: 16.59 kB / 1.016 GB, free: 12.78 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 11.366051506251097]