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.001607/0.001607, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.001646/0.001646, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.476/1.476, allocations: 177.1 MB / 203.1 MB, free: 5.27 MB / 186.7 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.207/3.207, allocations: 429.6 MB / 0.673 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.941e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002776/0.002805, allocations: 1.304 MB / 0.8789 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002761/0.005566, allocations: 1.55 MB / 0.8804 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.0056, allocations: 0 / 0.8804 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.005623, allocations: 5.047 kB / 0.8804 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.00584, allocations: 11.92 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.006606, allocations: 220.7 kB / 0.8806 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.975e-05/0.006696, allocations: 19.92 kB / 0.8806 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.006733, allocations: 4 kB / 0.8806 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.006895, allocations: 27.91 kB / 0.8807 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.00698, allocations: 8 kB / 0.8807 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.006996, allocations: 0 / 0.8807 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.007366, allocations: 152.3 kB / 0.8808 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.007388, allocations: 11.91 kB / 0.8808 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.007418, allocations: 9.25 kB / 0.8808 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.007783, allocations: 167.5 kB / 0.881 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.007785, allocations: 0 / 0.881 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.007786, allocations: 5.469 kB / 0.881 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.00779, allocations: 0 / 0.881 GB, free: 3.062 MB / 0.8386 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.0004528/0.008243, allocations: 293.9 kB / 0.8813 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.00828, allocations: 8.031 kB / 0.8813 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.008371, allocations: 81.41 kB / 0.8814 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.008539, allocations: 181.1 kB / 0.8815 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.973e-05/0.008629, allocations: 154.9 kB / 0.8817 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-05/0.008715, allocations: 151.5 kB / 0.8818 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.417e-05/0.008799, allocations: 105.5 kB / 0.8819 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.054e-05/0.008849, allocations: 91.16 kB / 0.882 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.393e-05/0.008933, allocations: 154.5 kB / 0.8822 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-05/0.009012, allocations: 150.6 kB / 0.8823 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.805e-05/0.00911, allocations: 150.6 kB / 0.8825 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.009469, allocations: 405.6 kB / 0.8828 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.009588, allocations: 169.2 kB / 0.883 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.009642, allocations: 88.08 kB / 0.8831 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.009686, allocations: 75.28 kB / 0.8832 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.737e-05/0.009753, allocations: 109.8 kB / 0.8833 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.009754, allocations: 0 / 0.8833 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.558e-05/0.00985, allocations: 45.56 kB / 0.8833 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.009978, allocations: 126.7 kB / 0.8834 GB, free: 448 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.01012, allocations: 105.8 kB / 0.8835 GB, free: 332 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.01014, allocations: 25.7 kB / 0.8836 GB, free: 300 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.0102, allocations: 84.12 kB / 0.8836 GB, free: 212 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.01021, allocations: 0 / 0.8836 GB, free: 212 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.01025, allocations: 21.72 kB / 0.8837 GB, free: 184 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.01044, allocations: 314.8 kB / 0.884 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.01046, allocations: 11.92 kB / 0.884 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.01056, allocations: 99.69 kB / 0.8841 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.644e-05/0.01062, allocations: 30.56 kB / 0.8841 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.01062, allocations: 256 / 0.8841 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001623/0.01078, allocations: 53.58 kB / 0.8841 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.0108, allocations: 4 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.01081, allocations: 4 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.01082, allocations: 3.938 kB / 0.8842 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.0109, allocations: 11.98 kB / 0.8842 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.0109, allocations: 0 / 0.8842 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.01107, allocations: 8.094 kB / 0.8842 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.01109, allocations: 4 kB / 0.8842 GB, free: 15.59 MB / 0.8542 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.0001393/0.01122, allocations: 189.1 kB / 0.8844 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.01131, allocations: 105 kB / 0.8845 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.878e-05/0.01138, allocations: 108.1 kB / 0.8846 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.426e-05/0.01147, allocations: 180.2 kB / 0.8847 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001062/0.01158, allocations: 188.2 kB / 0.8849 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.767e-05/0.01167, allocations: 176.3 kB / 0.8851 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.01195, allocations: 356.8 kB / 0.8854 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-05/0.01201, allocations: 105 kB / 0.8855 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.01207, allocations: 109 kB / 0.8856 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.434e-05/0.01216, allocations: 180.2 kB / 0.8858 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-05/0.01226, allocations: 180.3 kB / 0.886 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001032/0.01236, allocations: 184.2 kB / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001004/0.01246, allocations: 184.2 kB / 0.8863 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.01266, allocations: 307.7 kB / 0.8866 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.01272, allocations: 109 kB / 0.8867 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.01284, allocations: 184.1 kB / 0.8869 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.01294, allocations: 105 kB / 0.887 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.01305, allocations: 184.2 kB / 0.8872 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/0.01311, allocations: 108.9 kB / 0.8873 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.383e-05/0.01317, allocations: 83.28 kB / 0.8873 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01317, allocations: 0 / 0.8873 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003454/0.01352, allocations: 55.8 kB / 0.8874 GB, free: 12.1 MB / 0.8542 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.0008203/0.01434, allocations: 360.2 kB / 0.8877 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.701e-05/0.01442, allocations: 15.92 kB / 0.8878 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01442, allocations: 0 / 0.8878 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.01443, allocations: 192 / 0.8878 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.01489, allocations: 467.6 kB / 0.8882 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.01519, allocations: 168.1 kB / 0.8884 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.748e-05/0.01526, allocations: 67.14 kB / 0.8884 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.01528, allocations: 3.984 kB / 0.8884 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.01531, allocations: 16.5 kB / 0.8885 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of SimCode: time 4.1e-07/0.01531, allocations: 0 / 0.8885 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of Templates: time 0.005116/0.02043, allocations: 1.646 MB / 0.8901 GB, free: 9.391 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 800] 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: 8.161734128952958]